Commit 735203e6 authored by Sergei Golubchik's avatar Sergei Golubchik

cleanup: quoted_string

parent 47573cee
......@@ -304,7 +304,6 @@ static TYPELIB tc_heuristic_recover_typelib=
const char *first_keyword= "first";
const char *my_localhost= "localhost", *delayed_user= "DELAYED";
const char *quoted_string= "%`s";
bool opt_large_files= sizeof(my_off_t) > 4;
static my_bool opt_autocommit; ///< for --autocommit command-line option
......
......@@ -302,7 +302,6 @@ extern my_bool encrypt_binlog;
extern my_bool encrypt_tmp_disk_tables, encrypt_tmp_files;
extern ulong encryption_algorithm;
extern const char *encryption_algorithm_names[];
extern const char *quoted_string;
#ifdef HAVE_PSI_INTERFACE
#ifdef HAVE_MMAP
......
......@@ -993,8 +993,7 @@ mysql_rm_db_internal(THD *thd, const LEX_CSTRING *db, bool if_exists, bool silen
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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment