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

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
...@@ -618,14 +618,6 @@ bit_field int_field ...@@ -618,14 +618,6 @@ bit_field int_field
 2  2
handler t1 close; handler t1 close;
drop table t1; 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)); CREATE TABLE t1 (b BIT(2), a VARCHAR(5));
INSERT INTO t1 (b, a) VALUES (1, "x"), (3, "zz"), (0, "y"), (3, "z"); 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; SELECT b+0, COUNT(DISTINCT a) FROM t1 GROUP BY b;
......
...@@ -276,11 +276,6 @@ drop table t1; ...@@ -276,11 +276,6 @@ drop table t1;
# Bug #30219: GROUP BY a column of the BIT type # 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)); CREATE TABLE t1 (b BIT(2), a VARCHAR(5));
INSERT INTO t1 (b, a) VALUES (1, "x"), (3, "zz"), (0, "y"), (3, "z"); 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; SELECT b+0, COUNT(DISTINCT a) FROM t1 GROUP BY b;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment