mirror of
https://github.com/MariaDB/server.git
synced 2025-08-31 22:22:30 +03:00
Fixed errors found during review
mysql-test/r/drop.result: Made error message smaller to not get into trouble with clients with smaller error buffers The proper way to fix this is to generate a separate warning for each not found table if there was more than one table in the DROP but mysql-test/r/kill.result: Portablity fix mysql-test/t/kill.test: Portablity fix mysys/my_sync.c: Fixed possible compiler warning sql/records.cc: Fixed possible compiler warning sql/share/errmsg.txt: Made error message smaller to not get into trouble with clients with smaller error buffers sql/sql_class.cc: Don't put code in comments sql/sql_show.cc: Cleanup
This commit is contained in:
@@ -343,8 +343,9 @@ void THD::change_user(void)
|
||||
void THD::cleanup(void)
|
||||
{
|
||||
DBUG_ENTER("THD::cleanup");
|
||||
/* TODO uncomment the line below when binlog will be able to prepare */
|
||||
// if (transaction.xa_state != XA_PREPARED)
|
||||
#ifdef ENABLE_WHEN_BINLOG_WILL_BE_ABLE_TO_PREPARE
|
||||
if (transaction.xa_state != XA_PREPARED)
|
||||
#endif
|
||||
ha_rollback(this);
|
||||
if (locked_tables)
|
||||
{
|
||||
|
Reference in New Issue
Block a user