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:
@ -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)
|
||||
|
Reference in New Issue
Block a user