mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Code cleanups during code reviews
Ensure we get error if INSERT IGNORE ... SELECT fails Fixed wrong key_part->key_length usage in index_merge
This commit is contained in:
12
sql/table.cc
12
sql/table.cc
@ -2164,16 +2164,12 @@ bool st_table_list::check_single_table(st_table_list **table, table_map map,
|
||||
{
|
||||
if (*table)
|
||||
return TRUE;
|
||||
else
|
||||
{
|
||||
*table= tbl;
|
||||
tbl->check_option= view->check_option;
|
||||
}
|
||||
*table= tbl;
|
||||
tbl->check_option= view->check_option;
|
||||
}
|
||||
}
|
||||
else
|
||||
if (tbl->check_single_table(table, map, view))
|
||||
return TRUE;
|
||||
else if (tbl->check_single_table(table, map, view))
|
||||
return TRUE;
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user