~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/kill.test

  • Committer: Brian Aker
  • Date: 2011-02-22 06:12:02 UTC
  • mfrom: (2190.1.6 drizzle-build)
  • Revision ID: brian@tangent.org-20110222061202-k03czxykqy4x9hjs
List update, header fixes, multiple symbols, and David deletes some code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
--disable_query_log
25
25
--disable_result_log
 
26
 
26
27
# One of the following statements should fail
27
 
--error 0,2006,2013
28
 
select 1;
29
 
--error 0,2006,2013
30
 
select 1;
 
28
--error EE_OK,EE_BADCLOSE,EE_UNKNOWN_CHARSET,EE_CANT_SYMLINK
 
29
select 1;
 
30
 
 
31
--error EE_OK,EE_BADCLOSE,EE_UNKNOWN_CHARSET,EE_CANT_SYMLINK
 
32
select 1;
 
33
 
31
34
--enable_query_log
32
35
--enable_result_log
33
36
 
53
56
 
54
57
-- disable_result_log
55
58
-- disable_query_log
 
59
begin;
56
60
let $1 = 4096;
57
61
while ($1)
58
62
{
59
63
  eval insert into t1 values ($1);
60
64
  dec $1;
61
65
}
 
66
commit;
62
67
-- enable_query_log
63
68
-- enable_result_log
64
69
 
82
87
kill @id;
83
88
 
84
89
connection conn1;
 
90
#-- error 1053,2013,1104
 
91
--error ER_SERVER_SHUTDOWN, ER_TOO_BIG_SELECT
85
92
reap;
86
93
 
87
94
connection default;
104
110
#kill query $ID;
105
111
#enable_query_log;
106
112
#connection con2;
107
 
#--error 1317
 
113
#--error ER_QUERY_INTERRUPTED
108
114
#reap;
109
115
#select @a;
110
116
#connection con1;
120
126
#eval kill query $ID;
121
127
#enable_query_log;
122
128
#connection con2;
123
 
#--error 1317
 
129
#--error ER_QUERY_INTERRUPTED
124
130
#reap;
125
131
#select @a;
126
132
#connection con1;
135
141
#eval kill query $ID;
136
142
#enable_query_log;
137
143
#connection con2;
138
 
#--error 1317
 
144
#--error ER_QUERY_INTERRUPTED
139
145
#reap;
140
146
#select @a;
141
147
#
155
161
 
156
162
--echo # CR_SERVER_LOST, CR_SERVER_GONE_ERROR, depending on the timing 
157
163
--echo # of close of the connection socket
158
 
--error 2013, 2006 
 
164
 
 
165
--error EE_OK,EE_BADCLOSE,EE_UNKNOWN_CHARSET,EE_CANT_SYMLINK
159
166
SELECT 1;
 
167
 
160
168
--connection default
161
169
 
162
170
###########################################################################