• sunny's avatar
    branches/5.1: Fix Bug#38187 Error 153 when creating savepoints · 40f7819e
    sunny authored
    InnoDB previously treated savepoints as a stack e.g.,
      SAVEPOINT a;
      SAVEPOINT b;
      SAVEPOINT c;
      SAVEPOINT b; <- This would delete b and c.
    
    This fix changes the behavior to:
      SAVEPOINT a;
      SAVEPOINT b;
      SAVEPOINT c;
      SAVEPOINT b; <- Does not delete savepoint c
    40f7819e
trx0roll.h 10.7 KB