mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
These are actually two changesets. One for splitting LEX in two and
the other for multi-table delete
This commit is contained in:
@@ -883,7 +883,7 @@ bool Item_sum_count_distinct::setup(THD *thd)
|
||||
tmp_table_param->cleanup();
|
||||
}
|
||||
if (!(table=create_tmp_table(thd, tmp_table_param, list, (ORDER*) 0, 1,
|
||||
0, 0, current_lex->options | thd->options)))
|
||||
0, 0, current_lex->select->options | thd->options)))
|
||||
return 1;
|
||||
table->file->extra(HA_EXTRA_NO_ROWS); // Don't update rows
|
||||
table->no_rows=1;
|
||||
|
Reference in New Issue
Block a user