summaryrefslogtreecommitdiff
path: root/sql/sql_load.cc
diff options
context:
space:
mode:
authorkonstantin@mysql.com <>2005-05-30 20:54:37 +0400
committerkonstantin@mysql.com <>2005-05-30 20:54:37 +0400
commit2d6a70c42a4c63abb3653dd1b8f3287d4adc68f8 (patch)
treeddaffe242bb9f478a3e4a88598acfcc20bfa0700 /sql/sql_load.cc
parent248a6934bba47d225a677c2fe216b1fb3b920ac7 (diff)
downloadmariadb-git-2d6a70c42a4c63abb3653dd1b8f3287d4adc68f8.tar.gz
Preparatory (and the most problematic) patch for Bug#7306
"the server side preparedStatement error for LIMIT placeholder", which moves all uses of LIMIT clause from PREPARE to OPTIMIZE and later steps. After-review fixes.
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 1545055f475..cc25839bcc9 100644
--- a/sql/sql_load.cc
+++ b/sql/sql_load.cc
@@ -150,7 +150,7 @@ bool mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list,
if (open_and_lock_tables(thd, table_list))
DBUG_RETURN(TRUE);
if (setup_tables(thd, table_list, &unused_conds,
- &thd->lex->select_lex.leaf_tables, FALSE, FALSE))
+ &thd->lex->select_lex.leaf_tables, FALSE))
DBUG_RETURN(-1);
if (!table_list->table || // do not suport join view
!table_list->updatable || // and derived tables