summaryrefslogtreecommitdiff
path: root/sql/sql_load.cc
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2004-01-03 00:12:07 +0200
committerbell@sanja.is.com.ua <>2004-01-03 00:12:07 +0200
commite5fa5585f09c11e4dfd6f79582d5e2d66e259a7a (patch)
tree5368d917dca8b3cf091c64b5b199e33ef115d291 /sql/sql_load.cc
parent1c74cd9bf515ac1f1cfef6ed58ad2aa77b76be2c (diff)
downloadmariadb-git-e5fa5585f09c11e4dfd6f79582d5e2d66e259a7a.tar.gz
removed droping field->query_id for reinitialization tables for subquery.
(BUG#2089)
Diffstat (limited to 'sql/sql_load.cc')
-rw-r--r--sql/sql_load.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_load.cc b/sql/sql_load.cc
index 0c35e99ed08..175791ef31e 100644
--- a/sql/sql_load.cc
+++ b/sql/sql_load.cc
@@ -123,7 +123,7 @@ int mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list,
else
{ // Part field list
thd->dupp_field=0;
- if (setup_tables(table_list) ||
+ if (setup_tables(table_list, 0) ||
setup_fields(thd, 0, table_list, fields, 1, 0, 0))
DBUG_RETURN(-1);
if (thd->dupp_field)