diff options
author | unknown <serg@sergbook.mysql.com> | 2003-02-10 12:01:47 +0100 |
---|---|---|
committer | unknown <serg@sergbook.mysql.com> | 2003-02-10 12:01:47 +0100 |
commit | 7910884c5cbb59e89041506a12b9a3a567a97067 (patch) | |
tree | 6eed7ec5d21e357462e4f4346568d6c2c68654eb /sql/item_sum.cc | |
parent | c89666266228fbfc9582a6b28b8dc93acb4acebe (diff) | |
download | mariadb-git-7910884c5cbb59e89041506a12b9a3a567a97067.tar.gz |
count(distint) on an empty table crash fixed
BitKeeper/etc/ignore:
Added support-files/MacOSX/Description.plist support-files/MacOSX/Info.plist to the ignore list
Diffstat (limited to 'sql/item_sum.cc')
-rw-r--r-- | sql/item_sum.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/item_sum.cc b/sql/item_sum.cc index 222dd0a3a25..3c5f1a23704 100644 --- a/sql/item_sum.cc +++ b/sql/item_sum.cc @@ -918,7 +918,7 @@ int dump_leaf(byte* key, uint32 count __attribute__((unused)), } -Item_sum_count_distinct::~Item_sum_count_distinct() +void Item_sum_count_distinct::no_rows_in_result() { if (table) free_tmp_table(current_thd, table); @@ -927,7 +927,6 @@ Item_sum_count_distinct::~Item_sum_count_distinct() delete_tree(&tree); } - bool Item_sum_count_distinct::fix_fields(THD *thd,TABLE_LIST *tables) { if (Item_sum_num::fix_fields(thd,tables) || |