summaryrefslogtreecommitdiff
path: root/sql/sql_db.cc
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-04-09 15:35:57 +0200
committerSergei Golubchik <sergii@pisem.net>2013-04-09 15:35:57 +0200
commit6a839ff40d1be946b4391eb7a316b0404e1cd82b (patch)
tree770dce5797a309f58d4741856fa4b4b7ba735a68 /sql/sql_db.cc
parent934115184b52a28a30d576a8a47d0ec66b1b0712 (diff)
downloadmariadb-git-6a839ff40d1be946b4391eb7a316b0404e1cd82b.tar.gz
handlerton::discover_table_existence() method
Diffstat (limited to 'sql/sql_db.cc')
-rw-r--r--sql/sql_db.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_db.cc b/sql/sql_db.cc
index 359f74155db..6dee6b4bcc5 100644
--- a/sql/sql_db.cc
+++ b/sql/sql_db.cc
@@ -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);