mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
forget savepoints at the end of transaction
This commit is contained in:
parent
bfe628dc92
commit
1f3bff8824
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue