forget savepoints at the end of transaction

This commit is contained in:
serg@serg.mylan 2005-02-22 21:57:57 +01:00
parent bfe628dc92
commit 1f3bff8824

View file

@ -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