1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Fixed errors found during review

This commit is contained in:
monty@mysql.com
2005-04-06 19:43:35 +03:00
parent beb28b27e0
commit a7c6348192
8 changed files with 34 additions and 33 deletions

View File

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