mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
row0mysql.c Fix an assertion when an empty database is dropped
innobase/row/row0mysql.c: Fix an assertion when an empty database is dropped
This commit is contained in:
@ -1040,7 +1040,7 @@ row_create_table_for_mysql(
|
||||
"InnoDB: Error: table %s already exists in InnoDB internal\n"
|
||||
"InnoDB: data dictionary. Have you deleted the .frm file\n"
|
||||
"InnoDB: and not used DROP TABLE? Have you used DROP DATABASE\n"
|
||||
"InnoDB: for InnoDB tables in MySQL version <= 3.23.42?\n"
|
||||
"InnoDB: for InnoDB tables in MySQL version <= 3.23.43?\n"
|
||||
"InnoDB: See the Restrictions section of the InnoDB manual.\n",
|
||||
table->name);
|
||||
fprintf(stderr,
|
||||
@ -1468,6 +1468,8 @@ row_drop_database_for_mysql(
|
||||
|
||||
mutex_exit(&(dict_sys->mutex));
|
||||
|
||||
trx_commit_for_mysql(trx);
|
||||
|
||||
trx->op_info = "";
|
||||
|
||||
return(err);
|
||||
|
Reference in New Issue
Block a user