~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/kill.test

  • Committer: Lee
  • Date: 2008-10-30 22:02:01 UTC
  • mto: (572.1.2 devel)
  • mto: This revision was merged to the branch mainline in revision 573.
  • Revision ID: lbieber@lbieber-desktop-20081030220201-elb6qprbzpn7c5a4
add my name to the AUTHORS file

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