diff options
author | konstantin@mysql.com <> | 2005-05-30 20:54:37 +0400 |
---|---|---|
committer | konstantin@mysql.com <> | 2005-05-30 20:54:37 +0400 |
commit | 2d6a70c42a4c63abb3653dd1b8f3287d4adc68f8 (patch) | |
tree | ddaffe242bb9f478a3e4a88598acfcc20bfa0700 /sql/sql_load.cc | |
parent | 248a6934bba47d225a677c2fe216b1fb3b920ac7 (diff) | |
download | mariadb-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.cc | 2 |
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 |