Commit 3c213ae3 authored by unknown's avatar unknown
Browse files

forget savepoints at the end of transaction

parent fe118843
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1073,6 +1073,7 @@ class THD :public ilink,
    void cleanup()
    {
      changed_tables= 0;
      savepoints= 0;
#ifdef USING_TRANSACTIONS
      free_root(&mem_root,MYF(MY_KEEP_PREALLOC));
#endif