1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

handlerton::discover_table_existence() method

This commit is contained in:
Sergei Golubchik
2013-04-09 15:35:57 +02:00
parent 934115184b
commit 6a839ff40d
6 changed files with 133 additions and 67 deletions

View File

@ -937,7 +937,7 @@ update_binlog:
char quoted_name[FN_REFLEN+3];
// Only write drop table to the binlog for tables that no longer exist.
if (table_exists(thd, tbl))
if (ha_table_exists(thd, tbl->db, tbl->table_name))
continue;
my_snprintf(quoted_name, sizeof(quoted_name), "%`s", tbl->table_name);