1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Merge of mwl #106 into 5.3.

This commit is contained in:
Igor Babaev
2011-06-15 21:48:38 -07:00
101 changed files with 4492 additions and 1107 deletions

View File

@@ -3219,6 +3219,10 @@ end_with_restore_list:
if (!(res= open_and_lock_tables(thd, all_tables)))
{
/*
Only the INSERT table should be merged. Other will be handled by
select.
*/
/* Skip first table, which is the table we are inserting in */
TABLE_LIST *second_table= first_table->next_local;
select_lex->table_list.first= second_table;