summaryrefslogtreecommitdiff
path: root/sql/sql_olap.cc
diff options
context:
space:
mode:
authorSinisa@sinisa.nasamreza.org <>2002-07-29 18:37:15 +0300
committerSinisa@sinisa.nasamreza.org <>2002-07-29 18:37:15 +0300
commit57f32cf8169c50f73b82fbcbf5d3d8257bb90d4d (patch)
treec7e2b6651fb9922eedf694bd45debb64e926fe9f /sql/sql_olap.cc
parent721928ca0e7caed8f6167b1e00a59bdbbab15d01 (diff)
parent7c9658ec1911b8cf9893563c44646d0ff40914d1 (diff)
downloadmariadb-git-57f32cf8169c50f73b82fbcbf5d3d8257bb90d4d.tar.gz
merge
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 fa4d23805f4..930e052ab90 100644
--- a/sql/sql_olap.cc
+++ b/sql/sql_olap.cc
@@ -46,7 +46,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)