From 3f619478f796eddbba6e39502fe941b285dd97b1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 20:00:34 +0200 Subject: Adding upstream version 1:10.11.6. Signed-off-by: Daniel Baumann --- mysql-test/main/count_distinct3.result | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 mysql-test/main/count_distinct3.result (limited to 'mysql-test/main/count_distinct3.result') diff --git a/mysql-test/main/count_distinct3.result b/mysql-test/main/count_distinct3.result new file mode 100644 index 00000000..840c2666 --- /dev/null +++ b/mysql-test/main/count_distinct3.result @@ -0,0 +1,9 @@ +DROP TABLE IF EXISTS t1, t2; +CREATE TABLE t1 (id INTEGER, grp TINYINT, id_rev INTEGER); +SELECT COUNT(*) FROM t1; +COUNT(*) +4201000 +SELECT COUNT(DISTINCT id) FROM t1 GROUP BY grp; +# Begin cleanup +SET session myisam_sort_buffer_size = @orig_myisam_sort_buffer_size; +DROP TABLE t1; -- cgit v1.2.3