diff options
author | unknown <bell@sanja.is.com.ua> | 2003-01-26 21:30:35 +0200 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2003-01-26 21:30:35 +0200 |
commit | a72ebebf5dace430460ebdd9e96322780fcfe882 (patch) | |
tree | e194c81cba3115272354ebd186e5faa8e278d078 /sql/sql_parse.cc | |
parent | fbd882fca6902e5038bef1d25c1afbfad892d09a (diff) | |
download | mariadb-git-a72ebebf5dace430460ebdd9e96322780fcfe882.tar.gz |
after merge fix of 577 task (SCRUM, pre commit to be able to merge with static tables optimization fix)
fixed derived tables with subselect inside
mysql-test/r/derived.result:
test of subselects inside derived tables
mysql-test/t/derived.test:
test of subselects inside derived tables
mysql-test/t/subselect.test:
subselect test (not finished)
sql/item.cc:
after merge fix
sql/item.h:
after merge fix
sql/item_cmpfunc.h:
after merge fix
sql/item_subselect.cc:
after merge fix
sql/item_sum.h:
after merge fix
sql/mysql_priv.h:
fixed derived tables with subselect inside
sql/sql_class.h:
after merge fix
sql/sql_derived.cc:
fixed derived tables with subselect inside
sql/sql_lex.cc:
fixed derived tables with subselect inside
sql/sql_lex.h:
fixed derived tables with subselect inside
sql/sql_parse.cc:
fixed derived tables with subselect inside
after merge fix
sql/sql_prepare.cc:
after merge fix
sql/sql_select.cc:
after merge fix
fixed derived tables with subselect inside
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r-- | sql/sql_parse.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index c0b38cec254..eda2cbb69ce 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -1599,7 +1599,7 @@ mysql_execute_command(THD *thd) } } if ((&lex->select_lex != lex->all_selects_list && - lex->unit.create_total_list(thd, lex, &tables)) + lex->unit.create_total_list(thd, lex, &tables, 0)) #ifndef EMBEDDED_LIBRARY || (table_rules_on && tables && thd->slave_thread && @@ -2887,7 +2887,6 @@ mysql_execute_command(THD *thd) send_ok(thd); break; } - thd->free_tmp_tables(); thd->proc_info="query end"; // QQ if (res < 0) send_error(thd,thd->killed ? ER_SERVER_SHUTDOWN : 0); |