summaryrefslogtreecommitdiff
path: root/sql/sql_db.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-05-02 15:45:51 +0200
committerSergei Golubchik <serg@mariadb.org>2018-05-12 10:16:45 +0200
commit735203e6de5c6db5fb7fcd09f908ce45ee992d7d (patch)
tree2731449ad4819ee82844bb856dd933956857485f /sql/sql_db.cc
parent47573cee4daeaeee75574c382b6bc699848afdf1 (diff)
downloadmariadb-git-735203e6de5c6db5fb7fcd09f908ce45ee992d7d.tar.gz
cleanup: quoted_string
Diffstat (limited to 'sql/sql_db.cc')
-rw-r--r--sql/sql_db.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/sql_db.cc b/sql/sql_db.cc
index f9463f9ace7..5f826e37a76 100644
--- a/sql/sql_db.cc
+++ b/sql/sql_db.cc
@@ -993,8 +993,7 @@ update_binlog:
if (ha_table_exists(thd, &tbl->db, &tbl->table_name))
continue;
- tbl_name_len= my_snprintf(quoted_name, sizeof(quoted_name),
- quoted_string,
+ tbl_name_len= my_snprintf(quoted_name, sizeof(quoted_name), "%`s",
tbl->table_name.str);
tbl_name_len++; /* +1 for the comma */
if (query_pos + tbl_name_len + 1 >= query_end)