1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

handle tree overflow in count(distinct)

test heap table/tree overflow in count(distinct)


mysql-test/r/count_distinct2.result:
  added test for tree/heap table overflow
mysql-test/t/count_distinct2.test:
  test tree/heap table overflow
sql/item_sum.cc:
  handle tree overflow in count(distinct)
sql/item_sum.h:
  t
This commit is contained in:
unknown
2001-05-24 17:06:53 -06:00
parent a895b7b447
commit b7b409b76e
5 changed files with 94 additions and 4 deletions

View File

@ -74,3 +74,11 @@ count(distinct n2) n1
1 NULL
1 1
3 2
count(distinct n)
5000
Variable_name Value
Created_tmp_disk_tables 1
count(distinct s)
5000
Variable_name Value
Created_tmp_disk_tables 1