mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
merge with 3.23.49
BitKeeper/etc/logging_ok: auto-union acconfig.h: Auto merged Docs/manual.texi: Auto merged client/client_priv.h: Auto merged include/mysql.h: Auto merged innobase/dict/dict0dict.c: Auto merged innobase/row/row0mysql.c: Auto merged mysql-test/t/comments.test: Auto merged sql/sql_lex.cc: Auto merged sql/sql_load.cc: Auto merged sql/sql_parse.cc: Auto merged sql/unireg.cc: Auto merged sql/unireg.h: Auto merged
This commit is contained in:
@ -987,7 +987,10 @@ ha_innobase::open(
|
||||
|
||||
/* Get pointer to a table object in InnoDB dictionary cache */
|
||||
|
||||
if (NULL == (ib_table = dict_table_get(norm_name, NULL))) {
|
||||
ib_table = dict_table_get_and_increment_handle_count(
|
||||
norm_name, NULL);
|
||||
|
||||
if (NULL == ib_table) {
|
||||
|
||||
sql_print_error("InnoDB error:\n\
|
||||
Cannot find table %s from the internal data dictionary\n\
|
||||
@ -2831,7 +2834,9 @@ innobase_drop_database(
|
||||
memcpy(namebuf, ptr, len);
|
||||
namebuf[len] = '/';
|
||||
namebuf[len + 1] = '\0';
|
||||
|
||||
#ifdef __WIN__
|
||||
casedn_str(namebuf);
|
||||
#endif
|
||||
trx = trx_allocate_for_mysql();
|
||||
|
||||
error = row_drop_database_for_mysql(namebuf, trx);
|
||||
|
Reference in New Issue
Block a user