Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
46c29c87
Commit
46c29c87
authored
Aug 06, 2007
by
igor@olga.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge olga.mysql.com:/home/igor/mysql-5.0-opt
into olga.mysql.com:/home/igor/mysql-5.1-opt
parents
9037f6d9
b8e85da3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
13 deletions
+0
-13
mysql-test/r/type_bit.result
mysql-test/r/type_bit.result
+0
-8
mysql-test/t/type_bit.test
mysql-test/t/type_bit.test
+0
-5
No files found.
mysql-test/r/type_bit.result
View file @
46c29c87
...
...
@@ -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;
...
...
mysql-test/t/type_bit.test
View file @
46c29c87
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment