diff --git a/sql/sql_class.h b/sql/sql_class.h index 26930ef16b2..3d4336b07ce 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -6565,7 +6565,6 @@ public: } int prepare(List &list, SELECT_LEX_UNIT *u) override; - int binlog_show_create_table(TABLE **tables, uint count); bool store_values(List &values, bool *trg_skip_row) override; bool send_eof() override; void abort_result_set() override; diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc index 5f4b0ffc744..d21c1367bab 100644 --- a/sql/sql_insert.cc +++ b/sql/sql_insert.cc @@ -98,8 +98,8 @@ static void unlink_blobs(TABLE *table); #endif static bool check_view_insertability(THD *thd, TABLE_LIST *view, List &fields); -static int binlog_show_create_table_(THD *thd, TABLE *table, - Table_specification_st *create_info); +static int binlog_show_create_table(THD *thd, TABLE *table, + Table_specification_st *create_info); /* Check that insert/update fields are from the same single table of a view. @@ -4976,7 +4976,7 @@ int select_create::postlock(THD *thd, TABLE **tables) TABLE const *const table = *tables; if (thd->is_current_stmt_binlog_format_row() && !table->s->tmp_table) - return binlog_show_create_table_(thd, *tables, create_info); + return binlog_show_create_table(thd, *tables, create_info); return 0; } @@ -5099,7 +5099,7 @@ select_create::prepare(List &_values, SELECT_LEX_UNIT *u) } -static int binlog_show_create_table_(THD *thd, TABLE *table, +static int binlog_show_create_table(THD *thd, TABLE *table, Table_specification_st *create_info) { /* @@ -5193,7 +5193,7 @@ bool binlog_create_table(THD *thd, TABLE *table, bool replace) HA_CREATE_USED_DEFAULT_CHARSET); /* Ensure we write all engine options to binary log */ create_info.used_fields|= HA_CREATE_PRINT_ALL_OPTIONS; - result= binlog_show_create_table_(thd, table, &create_info) != 0; + result= binlog_show_create_table(thd, table, &create_info) != 0; thd->variables.option_bits= save_option_bits; return result; }