diff options
author | unknown <Sinisa@sinisa.nasamreza.org> | 2002-07-29 17:05:41 +0300 |
---|---|---|
committer | unknown <Sinisa@sinisa.nasamreza.org> | 2002-07-29 17:05:41 +0300 |
commit | e35a73d1d9f7b12ad23909ffb6e01d222e46ad4a (patch) | |
tree | f833ddf98636cc4b50d94f73e06746d136f041f9 /sql/sql_olap.cc | |
parent | 8becb4cd11a1c05b6478aee11abd9c6b98f92c84 (diff) | |
download | mariadb-git-e35a73d1d9f7b12ad23909ffb6e01d222e46ad4a.tar.gz |
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.
Diffstat (limited to 'sql/sql_olap.cc')
-rw-r--r-- | sql/sql_olap.cc | 2 |
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) |