summaryrefslogtreecommitdiff
path: root/sql/sql_lex.cc
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2004-01-03 00:12:07 +0200
committerunknown <bell@sanja.is.com.ua>2004-01-03 00:12:07 +0200
commitb21d8b0eff5b2da2f4b565ab630549ede52ed28a (patch)
tree5368d917dca8b3cf091c64b5b199e33ef115d291 /sql/sql_lex.cc
parent3940368293134f3fcce418c8533143ab6f4581ec (diff)
downloadmariadb-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_lex.cc')
-rw-r--r--sql/sql_lex.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc
index de0d6ade618..efb0ce92ad0 100644
--- a/sql/sql_lex.cc
+++ b/sql/sql_lex.cc
@@ -1222,11 +1222,6 @@ void st_select_lex::mark_as_dependent(SELECT_LEX *last)
s->uncacheable|= UNCACHEABLE_DEPENDENT;
SELECT_LEX_UNIT *munit= s->master_unit();
munit->uncacheable|= UNCACHEABLE_DEPENDENT;
- //Tables will be reopened many times
- for (TABLE_LIST *tbl= s->get_table_list();
- tbl;
- tbl= tbl->next)
- tbl->shared= 1;
}
}