~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/kill.test

  • Committer: Jay Pipes
  • Date: 2009-02-28 20:43:31 UTC
  • mto: (910.2.6 mordred-noatomics)
  • mto: This revision was merged to the branch mainline in revision 912.
  • Revision ID: jpipes@serialcoder-20090228204331-6x804cdbfzyy9w8i
Merged in remove-timezone work

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
--disable_query_log
25
25
--disable_result_log
26
26
# One of the following statements should fail
27
 
--error 0,5,20,23
 
27
--error 0,2006,2013
28
28
select 1;
29
 
--error 0,5,20,23
 
29
--error 0,2006,2013
30
30
select 1;
31
31
--enable_query_log
32
32
--enable_result_log
53
53
 
54
54
-- disable_result_log
55
55
-- disable_query_log
56
 
begin;
57
56
let $1 = 4096;
58
57
while ($1)
59
58
{
60
59
  eval insert into t1 values ($1);
61
60
  dec $1;
62
61
}
63
 
commit;
64
62
-- enable_query_log
65
63
-- enable_result_log
66
64
 
106
104
#kill query $ID;
107
105
#enable_query_log;
108
106
#connection con2;
109
 
#--error ER_QUERY_INTERRUPTED
 
107
#--error 1317
110
108
#reap;
111
109
#select @a;
112
110
#connection con1;
122
120
#eval kill query $ID;
123
121
#enable_query_log;
124
122
#connection con2;
125
 
#--error ER_QUERY_INTERRUPTED
 
123
#--error 1317
126
124
#reap;
127
125
#select @a;
128
126
#connection con1;
137
135
#eval kill query $ID;
138
136
#enable_query_log;
139
137
#connection con2;
140
 
#--error ER_QUERY_INTERRUPTED
 
138
#--error 1317
141
139
#reap;
142
140
#select @a;
143
141
#
157
155
 
158
156
--echo # CR_SERVER_LOST, CR_SERVER_GONE_ERROR, depending on the timing 
159
157
--echo # of close of the connection socket
160
 
--error 5, 20, 23
 
158
--error 2013, 2006 
161
159
SELECT 1;
162
160
--connection default
163
161