From e35a73d1d9f7b12ad23909ffb6e01d222e46ad4a Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 29 Jul 2002 17:05:41 +0300 Subject: lot's of small changes mysql-test/r/olap.result: some small changes sql/sql_delete.cc: A dirty fix for wrong ref_length returned ... sql/sql_olap.cc: NULL instead of ALL sql/sql_select.cc: This seems like a better solution to me ... At least after this a DISTINCT crash bug happens much later. --- sql/sql_olap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_olap.cc') 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 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) -- cgit v1.2.1