mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Handle errors from external_unlock & mysql_unlock_tables
Other things: - Handler errors from ha_maria::implict_commit - Disable DBUG in safe_mutex_lock to get trace file easier to read
This commit is contained in:
@ -1532,7 +1532,13 @@ int ha_commit_trans(THD *thd, bool all)
|
||||
}
|
||||
|
||||
#ifdef WITH_ARIA_STORAGE_ENGINE
|
||||
ha_maria::implicit_commit(thd, TRUE);
|
||||
if ((error= ha_maria::implicit_commit(thd, TRUE)))
|
||||
{
|
||||
my_error(ER_ERROR_DURING_COMMIT, MYF(0), error);
|
||||
ha_rollback_trans(thd, all);
|
||||
DBUG_RETURN(1);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
if (!ha_info)
|
||||
|
Reference in New Issue
Block a user