mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
forget savepoints at the end of transaction
This commit is contained in:
@@ -1072,7 +1072,8 @@ public:
|
||||
MEM_ROOT mem_root; // Transaction-life memory allocation pool
|
||||
void cleanup()
|
||||
{
|
||||
changed_tables = 0;
|
||||
changed_tables= 0;
|
||||
savepoints= 0;
|
||||
#ifdef USING_TRANSACTIONS
|
||||
free_root(&mem_root,MYF(MY_KEEP_PREALLOC));
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user