1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

show_check.test fixed cleanup problem

rpl000014.test	fixed bug in testcase
rename.test	fixed cleanup problem
handler.cc	added a comment
sql_class.h	fixed bug in active_transaction() when MySQL was not compiled with transaction support
This commit is contained in:
sasha@mysql.sashanet.com
2001-01-02 21:46:33 -07:00
parent 9ff59511a5
commit e962b04bd0
5 changed files with 9 additions and 2 deletions

View File

@ -299,9 +299,14 @@ public:
}
inline bool active_transaction()
{
#ifdef USING_TRANSACTIONS
return (transaction.all.bdb_tid != 0 ||
transaction.all.innobase_tid != 0 ||
transaction.all.gemini_tid != 0);
#else
return 0;
#endif
}
inline gptr alloc(unsigned int size) { return alloc_root(&mem_root,size); }
inline gptr calloc(unsigned int size)