diff options
author | unknown <dkatz@damien-katzs-computer.local> | 2007-06-21 21:39:52 -0400 |
---|---|---|
committer | unknown <dkatz@damien-katzs-computer.local> | 2007-06-21 21:39:52 -0400 |
commit | 37344c68f5c006c582b3f9793d7eb15102a5e807 (patch) | |
tree | 8adafadf01d1cffbb94bba92b493dcfa07ff1c5a /mysql-test/r/kill.result | |
parent | 2e8357b4a7ad33ca2e9b16e31fb940ae7d3e5a7b (diff) | |
download | mariadb-git-37344c68f5c006c582b3f9793d7eb15102a5e807.tar.gz |
Bug #29138 'kill' fails in pushbuild
The reason the "reap;" succeeds unexpectedly is because the query was completing(almost always) and the network buffer was big enough to store the query result (sometimes) on Windows, meaning the response was completely sent before the server thread could be killed.
Therefore we use a much longer running query that doesn't have a chance to fully complete before the reap happens, testing the kill properly.
mysql-test/r/kill.result:
We use a much longer running query that doesn't have a chance to fully complete before the reap happens.
mysql-test/t/kill.test:
We use a much longer running query that doesn't have a chance to fully complete before the reap happens.
Diffstat (limited to 'mysql-test/r/kill.result')
-rw-r--r-- | mysql-test/r/kill.result | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/r/kill.result b/mysql-test/r/kill.result index a4966d9d5ec..7ddabe74c5f 100644 --- a/mysql-test/r/kill.result +++ b/mysql-test/r/kill.result @@ -22,7 +22,7 @@ create table t2 (id int unsigned not null); insert into t2 select id from t1; create table t3 (kill_id int); 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; ((@id := kill_id) - kill_id) 0 |