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
0d84133a
Commit
0d84133a
authored
Jun 21, 2007
by
dkatz@damien-katzs-computer.local
Browse files
Options
Browse Files
Download
Plain Diff
Merge damien-katzs-computer.local:/Users/dkatz/50_kill
into damien-katzs-computer.local:/Users/dkatz/mysql51
parents
08cb6165
a393b215
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
mysql-test/r/kill.result
mysql-test/r/kill.result
+1
-1
mysql-test/t/kill.test
mysql-test/t/kill.test
+3
-1
No files found.
mysql-test/r/kill.result
View file @
0d84133a
...
@@ -22,7 +22,7 @@ create table t2 (id int unsigned not null);
...
@@ -22,7 +22,7 @@ create table t2 (id int unsigned not null);
insert into t2 select id from t1;
insert into t2 select id from t1;
create table t3 (kill_id int);
create table t3 (kill_id int);
insert into t3 values(connection_id());
insert into t3 values(connection_id());
select id from t1 where id in (select distinct
id from t2
);
select id from t1 where id in (select distinct
a.id from t2 a, t2 b, t2 c, t2 d group by a.id, b.id, c.id, d.id having a.id between 10 and 20
);
select ((@id := kill_id) - kill_id) from t3;
select ((@id := kill_id) - kill_id) from t3;
((@id := kill_id) - kill_id)
((@id := kill_id) - kill_id)
0
0
...
...
mysql-test/t/kill.test
View file @
0d84133a
...
@@ -81,7 +81,9 @@ connection conn2;
...
@@ -81,7 +81,9 @@ connection conn2;
connection
conn1
;
connection
conn1
;
--
disable_result_log
--
disable_result_log
send
select
id
from
t1
where
id
in
(
select
distinct
id
from
t2
);
# This is a very long running query. If this test start failing, it may
# be necessary to change to an even longer query.
send
select
id
from
t1
where
id
in
(
select
distinct
a
.
id
from
t2
a
,
t2
b
,
t2
c
,
t2
d
group
by
a
.
id
,
b
.
id
,
c
.
id
,
d
.
id
having
a
.
id
between
10
and
20
);
--
enable_result_log
--
enable_result_log
connection
conn2
;
connection
conn2
;
...
...
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