title: Is it possible to pass the NEW and the OLD tables from a trigger into a procedure in MySQL?
body: <p>Is it possible to pass the NEW and the OLD tables from a trigger into a procedure in MySQL?
  I suspect no, since there is no such a datatype as table that a procedure accepts.
  Any workarounds possible?</p>
  
  <p>Ideally it would look like this:</p>
  
  <pre><code>CREATE TRIGGER Product_log AFTER UPDATE ON Product
    FOR EACH ROW BEGIN
      call logChanges(OLD, NEW);
    END;
  </code></pre>