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

Minor cleanups, fix compiler warnings

This commit is contained in:
Monty
2014-08-03 15:12:10 +03:00
parent d87ffeb491
commit 3bde13932e
10 changed files with 25 additions and 19 deletions

View File

@@ -1414,11 +1414,10 @@ int ha_commit_trans(THD *thd, bool all)
err= ht->prepare(ht, thd, all);
status_var_increment(thd->status_var.ha_prepare_count);
if (err)
{
my_error(ER_ERROR_DURING_COMMIT, MYF(0), err);
if (err)
goto err;
}
need_prepare_ordered|= (ht->prepare_ordered != NULL);
need_commit_ordered|= (ht->commit_ordered != NULL);
}