summaryrefslogtreecommitdiff
path: root/sql/sql_derived.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_derived.cc')
-rw-r--r--sql/sql_derived.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/sql/sql_derived.cc b/sql/sql_derived.cc
index 4a64c30e7e5..fb40a85fd91 100644
--- a/sql/sql_derived.cc
+++ b/sql/sql_derived.cc
@@ -75,11 +75,11 @@ int mysql_derived(THD *thd, LEX *lex, SELECT_LEX_UNIT *unit, TABLE_LIST *t)
}
bzero((char*) &tmp_table_param,sizeof(tmp_table_param));
tmp_table_param.field_count=item_list.elements;
- if (!(table= create_tmp_table(thd, &tmp_table_param, sl->item_list,
- (ORDER*) 0, 0, 1, 0,
- (sl->options | thd->options |
- TMP_TABLE_ALL_COLUMNS),
- unit)))
+ if (!(table=create_tmp_table(thd, &tmp_table_param, item_list,
+ (ORDER*) 0, 0, 1, 0,
+ (sl->options | thd->options |
+ TMP_TABLE_ALL_COLUMNS),
+ unit)))
{
res=-1;
goto exit;