mirror of
https://github.com/MariaDB/server.git
synced 2025-12-28 00:01:00 +00:00
MDEV-37404 Cleanups
Deadcode leftovers.
This commit is contained in:
parent
70476c1127
commit
32e9871917
@ -34,16 +34,11 @@ bool mysql_insert(THD *thd,TABLE_LIST *table,List<Item> &fields,
|
||||
List<List_item> &values, List<Item> &update_fields,
|
||||
List<Item> &update_values, enum_duplicates flag,
|
||||
bool ignore, select_result* result);
|
||||
void upgrade_lock_type_for_insert(THD *thd, thr_lock_type *lock_type,
|
||||
enum_duplicates duplic,
|
||||
bool is_multi_insert);
|
||||
int check_that_all_fields_are_given_values(THD *thd, TABLE *entry,
|
||||
TABLE_LIST *table_list);
|
||||
int vers_insert_history_row(TABLE *table);
|
||||
int check_duplic_insert_without_overlaps(THD *thd, TABLE *table,
|
||||
enum_duplicates duplic);
|
||||
int write_record(THD *thd, TABLE *table, COPY_INFO *info,
|
||||
select_result *returning= NULL);
|
||||
void kill_delayed_threads(void);
|
||||
bool binlog_create_table(THD *thd, TABLE *table, bool replace);
|
||||
bool binlog_drop_table(THD *thd, TABLE *table);
|
||||
|
||||
@ -97,7 +97,7 @@ When one supplies long data for a placeholder:
|
||||
#include "sql_view.h" // create_view_precheck
|
||||
#include "sql_delete.h" // mysql_prepare_delete
|
||||
#include "sql_select.h" // for JOIN
|
||||
#include "sql_insert.h" // upgrade_lock_type_for_insert, mysql_prepare_insert
|
||||
#include "sql_insert.h" // mysql_prepare_insert
|
||||
#include "sql_update.h" // mysql_prepare_update
|
||||
#include "sql_db.h" // mysql_opt_change_db, mysql_change_db
|
||||
#include "sql_derived.h" // mysql_derived_prepare,
|
||||
@ -1310,8 +1310,6 @@ static bool mysql_test_insert_common(Prepared_statement *stmt,
|
||||
if (insert_precheck(thd, table_list))
|
||||
goto error;
|
||||
|
||||
//upgrade_lock_type_for_insert(thd, &table_list->lock_type, duplic,
|
||||
// values_list.elements > 1);
|
||||
/*
|
||||
open temporary memory pool for temporary data allocated by derived
|
||||
tables & preparation procedure
|
||||
|
||||
Loading…
Reference in New Issue
Block a user