summaryrefslogtreecommitdiff
path: root/sql/sql_cursor.cc
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2010-02-18 00:59:41 +0300
committerSergey Petrunya <psergey@askmonty.org>2010-02-18 00:59:41 +0300
commitd63959eed35faffb2ef35606c35840a8d5115454 (patch)
tree22271784bfa05236b68b1ce2187dd24f1dfac803 /sql/sql_cursor.cc
parent663773aa8ca3fab6880bda06bebeeaf2d92edf7e (diff)
downloadmariadb-git-d63959eed35faffb2ef35606c35840a8d5115454.tar.gz
Subquery optimizations backport: fix test failures, update test results.
Diffstat (limited to 'sql/sql_cursor.cc')
-rw-r--r--sql/sql_cursor.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_cursor.cc b/sql/sql_cursor.cc
index 71c28f425d4..ea667543040 100644
--- a/sql/sql_cursor.cc
+++ b/sql/sql_cursor.cc
@@ -714,7 +714,8 @@ bool Select_materialize::send_fields(List<Item> &list, uint flags)
{
DBUG_ASSERT(table == 0);
if (create_result_table(unit->thd, unit->get_unit_column_types(),
- FALSE, thd->options | TMP_TABLE_ALL_COLUMNS, ""))
+ FALSE, thd->options | TMP_TABLE_ALL_COLUMNS, "",
+ FALSE))
return TRUE;
materialized_cursor= new (&table->mem_root)