1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Merge remote-tracking branch 'upstream/10.3' into 10.4

This commit is contained in:
Vicențiu Ciorbaru
2021-09-09 09:18:12 +03:00
170 changed files with 4133 additions and 2398 deletions

View File

@ -450,10 +450,9 @@ bool Sql_cmd_truncate_table::truncate_table(THD *thd, TABLE_LIST *table_ref)
if (thd->locked_tables_mode && thd->locked_tables_list.reopen_tables(thd, false))
{
thd->locked_tables_list.unlink_all_closed_tables(thd, NULL, 0);
error=1;
thd->locked_tables_list.unlink_all_closed_tables(thd, NULL, 0);
error= 1;
}
/* No need to binlog a failed truncate-by-recreate. */
binlog_stmt= !error;
}