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:
@ -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
|
||||
|
Reference in New Issue
Block a user