mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
merging
This commit is contained in:
@ -437,6 +437,7 @@ static bool setup_params_data(PREP_STMT *stmt)
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Validate the following information for INSERT statement:
|
||||
- field existance
|
||||
- fields count
|
||||
@ -504,8 +505,9 @@ static bool mysql_test_upd_fields(PREP_STMT *stmt, TABLE_LIST *table_list,
|
||||
if (open_and_lock_tables(thd, table_list))
|
||||
DBUG_RETURN(1);
|
||||
|
||||
if (setup_tables(table_list) || setup_fields(thd,table_list,fields,1,0,0) ||
|
||||
setup_conds(thd,table_list,&conds) || thd->net.report_error)
|
||||
if (setup_tables(table_list) ||
|
||||
setup_fields(thd, 0, table_list, fields, 1, 0, 0) ||
|
||||
setup_conds(thd, table_list, &conds) || thd->net.report_error)
|
||||
DBUG_RETURN(1);
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user