summaryrefslogtreecommitdiff
path: root/sql/sql_olap.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_olap.cc')
-rw-r--r--sql/sql_olap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_olap.cc b/sql/sql_olap.cc
index d05e891db63..9cb0f797001 100644
--- a/sql/sql_olap.cc
+++ b/sql/sql_olap.cc
@@ -35,7 +35,7 @@ static int make_new_olap_select(LEX *lex, SELECT_LEX *select_lex, List<Item> new
{
THD *thd=current_thd;
Item *item, *new_item;
- Item_string *constant= new Item_string("ALL",3);
+ Item_null *constant= new Item_null("ALL");
SELECT_LEX *new_select = (SELECT_LEX *) thd->memdup((char*) select_lex, sizeof(*select_lex));
if (!new_select)