diff options
author | unknown <bell@sanja.is.com.ua> | 2004-01-03 00:12:07 +0200 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2004-01-03 00:12:07 +0200 |
commit | b21d8b0eff5b2da2f4b565ab630549ede52ed28a (patch) | |
tree | 5368d917dca8b3cf091c64b5b199e33ef115d291 /sql/sql_olap.cc | |
parent | 3940368293134f3fcce418c8533143ab6f4581ec (diff) | |
download | mariadb-git-b21d8b0eff5b2da2f4b565ab630549ede52ed28a.tar.gz |
removed droping field->query_id for reinitialization tables for subquery.
(BUG#2089)
mysql-test/r/subselect_innodb.result:
correct results
sql/mysql_priv.h:
new parameter for setup_tables()
sql/sql_base.cc:
new parameter for setup_tables() added to avoid dropping query_id of fields during reinitialization subquery
sql/sql_class.cc:
layout fixed
sql/sql_help.cc:
new parameter for setup_tables()
sql/sql_insert.cc:
new parameter for setup_tables()
sql/sql_lex.cc:
removed incorrect code
sql/sql_load.cc:
new parameter for setup_tables()
sql/sql_olap.cc:
new parameter for setup_tables()
sql/sql_prepare.cc:
new parameter for setup_tables()
sql/sql_select.cc:
new parameter for setup_tables()
sql/sql_update.cc:
new parameter for setup_tables()
Diffstat (limited to 'sql/sql_olap.cc')
-rw-r--r-- | sql/sql_olap.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_olap.cc b/sql/sql_olap.cc index ef7bf013be8..1d16771c1a4 100644 --- a/sql/sql_olap.cc +++ b/sql/sql_olap.cc @@ -164,7 +164,7 @@ int handle_olaps(LEX *lex, SELECT_LEX *select_lex) List<Item> all_fields(select_lex->item_list); - if (setup_tables((TABLE_LIST *)select_lex->table_list.first) || + if (setup_tables((TABLE_LIST *)select_lex->table_list.first, 0) || setup_fields(lex->thd, 0, (TABLE_LIST *)select_lex->table_list.first, select_lex->item_list, 1, &all_fields,1) || setup_fields(lex->thd, 0, (TABLE_LIST *)select_lex->table_list.first, |