mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Cleanup during code review
Faster detection of wrong table names (like PRN) on windows
This commit is contained in:
@ -2819,8 +2819,8 @@ unsent_create_error:
|
||||
|
||||
TABLE *table= tables->table;
|
||||
/* Skip first table, which is the table we are inserting in */
|
||||
lex->select_lex.table_list.first= (byte*) first_local_table->next;
|
||||
tables= (TABLE_LIST *) lex->select_lex.table_list.first;
|
||||
select_lex->table_list.first= (byte*) first_local_table->next;
|
||||
tables= (TABLE_LIST *) select_lex->table_list.first;
|
||||
first_local_table->next= 0;
|
||||
|
||||
if (!(res= mysql_prepare_insert(thd, tables, first_local_table,
|
||||
@ -5389,6 +5389,7 @@ int multi_update_precheck(THD *thd, TABLE_LIST *tables)
|
||||
1 error (message is sent to user)
|
||||
-1 error (message is not sent to user)
|
||||
*/
|
||||
|
||||
int multi_delete_precheck(THD *thd, TABLE_LIST *tables, uint *table_count)
|
||||
{
|
||||
DBUG_ENTER("multi_delete_precheck");
|
||||
|
Reference in New Issue
Block a user