mirror of
https://github.com/MariaDB/server.git
synced 2026-04-27 02:35:29 +02: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 mysql-test/t/rename.test: fixed cleanup problem mysql-test/t/rpl000014.test: fixed bug in testcase mysql-test/t/show_check.test: fixed cleanup problem sql/handler.cc: added a comment sql/sql_class.h: fixed bug in active_transaction() when MySQL was not compiled with transaction support
This commit is contained in:
parent
2218bce9cc
commit
1cf31b8537
5 changed files with 9 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue