Commit b8e85da3 authored by igor@olga.mysql.com's avatar igor@olga.mysql.com
Browse files

Removed a query from the test case for bug 39219 that displayed in valgrind

a problem for BIT type values different from the one reported for the bug.
parent 88703939
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -618,14 +618,6 @@ bit_field int_field
	2
handler t1 close;
drop table t1;
CREATE TABLE t1 (b BIT(2));
INSERT INTO t1 (b) VALUES (1), (3), (0), (3);
SELECT b+0, COUNT(DISTINCT b) FROM t1 GROUP BY b;
b+0	COUNT(DISTINCT b)
0	1
1	1
3	1
DROP TABLE t1;
CREATE TABLE t1 (b BIT(2), a VARCHAR(5));
INSERT INTO t1 (b, a) VALUES (1, "x"), (3, "zz"), (0, "y"), (3, "z");
SELECT b+0, COUNT(DISTINCT a) FROM t1 GROUP BY b;
+0 −5
Original line number Diff line number Diff line
@@ -276,11 +276,6 @@ drop table t1;
# Bug #30219: GROUP BY a column of the BIT type
#

CREATE TABLE t1 (b BIT(2));
INSERT INTO t1 (b) VALUES (1), (3), (0), (3);
SELECT b+0, COUNT(DISTINCT b) FROM t1 GROUP BY b;
DROP TABLE t1;

CREATE TABLE t1 (b BIT(2), a VARCHAR(5));
INSERT INTO t1 (b, a) VALUES (1, "x"), (3, "zz"), (0, "y"), (3, "z");
SELECT b+0, COUNT(DISTINCT a) FROM t1 GROUP BY b;