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
edc0cbd3
Commit
edc0cbd3
authored
Dec 05, 2000
by
sasha@mysql.sashanet.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a test case for a coredump bug in SELECT DISTINCT. Have not yet fixed the coredump itself
parent
a2fc71d3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
0 deletions
+38
-0
.bzrignore
.bzrignore
+8
-0
mysql-test/r/3.23/sel000100.res
mysql-test/r/3.23/sel000100.res
+0
-0
mysql-test/t/3.23/sel000100.test
mysql-test/t/3.23/sel000100.test
+30
-0
No files found.
.bzrignore
View file @
edc0cbd3
...
...
@@ -392,3 +392,11 @@ Docs/manual.tp
Docs/manual.vr
Docs/manual_a4.ps
Docs/manual_letter.ps
mysql-test/var/lib/test/test1.frm
mysql-test/var/lib/test/test1.MYD
mysql-test/var/lib/test/test1.MYI
mysql-test/var/lib/test/test2.frm
mysql-test/var/lib/test/test2.MYD
mysql-test/var/lib/test/test2.MYI
mysql-test/var/run/mysqld.pid
mysql-test/var/tmp/mysql.sock
mysql-test/r/3.23/sel000100.res
0 → 100644
View file @
edc0cbd3
mysql-test/t/3.23/sel000100.test
0 → 100644
View file @
edc0cbd3
DROP
TABLE
IF
EXISTS
test1
;
DROP
TABLE
IF
EXISTS
test2
;
CREATE
TABLE
test1
(
ID
int
(
11
)
NOT
NULL
auto_increment
,
NAME
varchar
(
75
)
DEFAULT
''
NOT
NULL
,
LINK_ID
int
(
11
)
DEFAULT
'0'
NOT
NULL
,
PRIMARY
KEY
(
ID
),
KEY
NAME
(
NAME
),
KEY
LINK_ID
(
LINK_ID
)
);
INSERT
INTO
test1
(
ID
,
NAME
,
LINK_ID
)
VALUES
(
1
,
'Mike'
,
0
);
INSERT
INTO
test1
(
ID
,
NAME
,
LINK_ID
)
VALUES
(
2
,
'Jack'
,
0
);
INSERT
INTO
test1
(
ID
,
NAME
,
LINK_ID
)
VALUES
(
3
,
'Bill'
,
0
);
CREATE
TABLE
test2
(
ID
int
(
11
)
NOT
NULL
auto_increment
,
NAME
varchar
(
150
)
DEFAULT
''
NOT
NULL
,
PRIMARY
KEY
(
ID
),
KEY
NAME
(
NAME
)
);
@
r
/
3.23
/
sel000100
.
res
SELECT
DISTINCT
test2
.
id
AS
key_link_id
,
test2
.
name
AS
link
FROM
test1
LEFT
JOIN
test2
ON
test1
.
link_id
=
test2
.
id
GROUP
BY
test1
.
id
ORDER
BY
link
;
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