Commit 1f3bff88 authored by serg@serg.mylan's avatar serg@serg.mylan

forget savepoints at the end of transaction

parent bfe628dc
...@@ -1072,7 +1072,8 @@ class THD :public ilink, ...@@ -1072,7 +1072,8 @@ class THD :public ilink,
MEM_ROOT mem_root; // Transaction-life memory allocation pool MEM_ROOT mem_root; // Transaction-life memory allocation pool
void cleanup() void cleanup()
{ {
changed_tables = 0; changed_tables= 0;
savepoints= 0;
#ifdef USING_TRANSACTIONS #ifdef USING_TRANSACTIONS
free_root(&mem_root,MYF(MY_KEEP_PREALLOC)); free_root(&mem_root,MYF(MY_KEEP_PREALLOC));
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment