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
a5800f8f
Commit
a5800f8f
authored
Jan 17, 2004
by
bell@sanja.is.com.ua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit of forgoten test
parent
e5fa5585
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
mysql-test/t/subselect_innodb.test
mysql-test/t/subselect_innodb.test
+12
-1
No files found.
mysql-test/t/subselect_innodb.test
View file @
a5800f8f
...
...
@@ -67,4 +67,15 @@ INSERT INTO t1 VALUES (1),(2),(3);
INSERT
INTO
t3
VALUES
(
1
,
1
),(
2
,
2
),(
3
,
3
);
INSERT
INTO
t2
VALUES
(
1
,
1
),(
2
,
2
),(
3
,
3
);
SELECT
distinct
p1
.
processor_id
,
(
SELECT
y
.
yod_id
FROM
t1
p2
,
t2
y
WHERE
p2
.
processor_id
=
p1
.
processor_id
and
p2
.
processor_id
=
y
.
processor_id
)
FROM
t1
p1
;
drop
table
t1
,
t2
,
t3
;
\ No newline at end of file
drop
table
t1
,
t2
,
t3
;
#
# reiniting innodb tables
#
create
table
t1
(
id
int
not
null
,
value
char
(
255
),
primary
key
(
id
))
engine
=
innodb
;
create
table
t2
(
id
int
not
null
,
value
char
(
255
))
engine
=
innodb
;
insert
into
t1
values
(
1
,
'a'
),(
2
,
'b'
);
insert
into
t2
values
(
1
,
'z'
),(
2
,
'x'
);
select
t2
.
id
,
t2
.
value
,(
select
t1
.
value
from
t1
where
t1
.
id
=
t2
.
id
)
from
t2
;
select
t2
.
id
,
t2
.
value
,(
select
t1
.
value
from
t1
where
t1
.
id
=
t2
.
id
)
from
t2
;
drop
table
t1
,
t2
;
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