cleanup: quoted_string

This commit is contained in:
Sergei Golubchik 2018-05-02 15:45:51 +02:00
parent 47573cee4d
commit 735203e6de
3 changed files with 1 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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)