title: ERROR 1305 (42000): SAVEPOINT ... does not exist
body: <p>I have this SQL in my MYSQL DB (sproc with empty body so I guess no implicit commits ?).</p>
  
  <pre><code>DROP PROCEDURE IF EXISTS doOrder;
  
  DELIMITER $$
  
  CREATE PROCEDURE doOrder(IN orderUUID VARCHAR(40))
    BEGIN
      SAVEPOINT sp_doOrder;
  
      BEGIN
        DECLARE EXIT HANDLER FOR SQLEXCEPTION ROLLBACK TO sp_doOrder;
  
        -- doing my updates and selects here...
  
      END;
  
      RELEASE SAVEPOINT sp_doOrder;
    END $$
  
  DELIMITER ;
  </code></pre>
  
  <p>When I </p>
  
  <pre><code>call doOrder('some-unique-id');
  </code></pre>
  
  <p>I get: <strong>ERROR 1305 (42000): SAVEPOINT sp_doOrder does not exist.</strong></p>
  
  <p>I might overlook something... Any idea?</p>