Debian Codegraph @

mysql-test/suite/x/r/compression_client.result

raw
1
2 ## A. Execute the test using zlib/single
3 #
4
5
6 ## I. Compression and Open expectation block with no-error condition
7 #
8 # 1. Fail the expectation block and check that each message that
9 # was compressed is replied with error without executing it
10 # 2. Close expectation block and check that compressed messages
11 # are correctly decompressed (context in sync) and executed
12
13 #
14 # I.1
15 send Mysqlx.Expect.Open {
16 cond {
17 condition_key: 1
18 }
19 }
20
21 RUN recvok
22 RUN SELECT invalid_syntax(-)
23 While executing SELECT invalid_syntax(-):
24 Got expected error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 (code 1064)
25 Got expected error: Expectation failed: no_error (code 5159)
26 Got expected error: Expectation failed: no_error (code 5159)
27 Got expected error: Expectation failed: no_error (code 5159)
28
29 #
30 # I.2
31 send Mysqlx.Expect.Close {
32 }
33
34 Got expected error:
35 Mysqlx.Error {
36 severity: ERROR
37 code: 5159
38 msg: "Expectation failed: no_error"
39 sql_state: "HY000"
40 }
41
42 First query
43 First query
44 0 rows affected
45 Got expected error (code 0)
46 Second query
47 Second query
48 0 rows affected
49 Got expected error (code 0)
50 Last query
51 Last query
52 0 rows affected
53 Got expected error (code 0)
54 Mysqlx.Ok {
55 msg: "bye!"
56 }
57 ok
58
59 ## B. Execute the test using lz4/single
60 #
61
62
63 ## I. Compression and Open expectation block with no-error condition
64 #
65 # 1. Fail the expectation block and check that each message that
66 # was compressed is replied with error without executing it
67 # 2. Close expectation block and check that compressed messages
68 # are correctly decompressed (context in sync) and executed
69
70 #
71 # I.1
72 send Mysqlx.Expect.Open {
73 cond {
74 condition_key: 1
75 }
76 }
77
78 RUN recvok
79 RUN SELECT invalid_syntax(-)
80 While executing SELECT invalid_syntax(-):
81 Got expected error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 (code 1064)
82 Got expected error: Expectation failed: no_error (code 5159)
83 Got expected error: Expectation failed: no_error (code 5159)
84 Got expected error: Expectation failed: no_error (code 5159)
85
86 #
87 # I.2
88 send Mysqlx.Expect.Close {
89 }
90
91 Got expected error:
92 Mysqlx.Error {
93 severity: ERROR
94 code: 5159
95 msg: "Expectation failed: no_error"
96 sql_state: "HY000"
97 }
98
99 First query
100 First query
101 0 rows affected
102 Got expected error (code 0)
103 Second query
104 Second query
105 0 rows affected
106 Got expected error (code 0)
107 Last query
108 Last query
109 0 rows affected
110 Got expected error (code 0)
111 Mysqlx.Ok {
112 msg: "bye!"
113 }
114 ok
115
116 ## C. Execute the test using zlib/multiple
117 #
118
119
120 ## I. Compression and Open expectation block with no-error condition
121 #
122 # 1. Fail the expectation block and check that each message that
123 # was compressed is replied with error without executing it
124 # 2. Close expectation block and check that compressed messages
125 # are correctly decompressed (context in sync) and executed
126
127 #
128 # I.1
129 send Mysqlx.Expect.Open {
130 cond {
131 condition_key: 1
132 }
133 }
134
135 RUN recvok
136 RUN SELECT invalid_syntax(-)
137 While executing SELECT invalid_syntax(-):
138 Got expected error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 (code 1064)
139 Got expected error: Expectation failed: no_error (code 5159)
140 Got expected error: Expectation failed: no_error (code 5159)
141 Got expected error: Expectation failed: no_error (code 5159)
142
143 #
144 # I.2
145 send Mysqlx.Expect.Close {
146 }
147
148 Got expected error:
149 Mysqlx.Error {
150 severity: ERROR
151 code: 5159
152 msg: "Expectation failed: no_error"
153 sql_state: "HY000"
154 }
155
156 First query
157 First query
158 0 rows affected
159 Got expected error (code 0)
160 Second query
161 Second query
162 0 rows affected
163 Got expected error (code 0)
164 Last query
165 Last query
166 0 rows affected
167 Got expected error (code 0)
168 Mysqlx.Ok {
169 msg: "bye!"
170 }
171 ok
172
173 ## D. Execute the test using lz4/multiple
174 #
175
176
177 ## I. Compression and Open expectation block with no-error condition
178 #
179 # 1. Fail the expectation block and check that each message that
180 # was compressed is replied with error without executing it
181 # 2. Close expectation block and check that compressed messages
182 # are correctly decompressed (context in sync) and executed
183
184 #
185 # I.1
186 send Mysqlx.Expect.Open {
187 cond {
188 condition_key: 1
189 }
190 }
191
192 RUN recvok
193 RUN SELECT invalid_syntax(-)
194 While executing SELECT invalid_syntax(-):
195 Got expected error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 (code 1064)
196 Got expected error: Expectation failed: no_error (code 5159)
197 Got expected error: Expectation failed: no_error (code 5159)
198 Got expected error: Expectation failed: no_error (code 5159)
199
200 #
201 # I.2
202 send Mysqlx.Expect.Close {
203 }
204
205 Got expected error:
206 Mysqlx.Error {
207 severity: ERROR
208 code: 5159
209 msg: "Expectation failed: no_error"
210 sql_state: "HY000"
211 }
212
213 First query
214 First query
215 0 rows affected
216 Got expected error (code 0)
217 Second query
218 Second query
219 0 rows affected
220 Got expected error (code 0)
221 Last query
222 Last query
223 0 rows affected
224 Got expected error (code 0)
225 Mysqlx.Ok {
226 msg: "bye!"
227 }
228 ok
229
230 ## E. Execute the test using zlib/group
231 #
232
233
234 ## I. Compression and Open expectation block with no-error condition
235 #
236 # 1. Fail the expectation block and check that each message that
237 # was compressed is replied with error without executing it
238 # 2. Close expectation block and check that compressed messages
239 # are correctly decompressed (context in sync) and executed
240
241 #
242 # I.1
243 send Mysqlx.Expect.Open {
244 cond {
245 condition_key: 1
246 }
247 }
248
249 RUN recvok
250 RUN SELECT invalid_syntax(-)
251 While executing SELECT invalid_syntax(-):
252 Got expected error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 (code 1064)
253 Got expected error: Expectation failed: no_error (code 5159)
254 Got expected error: Expectation failed: no_error (code 5159)
255 Got expected error: Expectation failed: no_error (code 5159)
256
257 #
258 # I.2
259 send Mysqlx.Expect.Close {
260 }
261
262 Got expected error:
263 Mysqlx.Error {
264 severity: ERROR
265 code: 5159
266 msg: "Expectation failed: no_error"
267 sql_state: "HY000"
268 }
269
270 First query
271 First query
272 0 rows affected
273 Got expected error (code 0)
274 Second query
275 Second query
276 0 rows affected
277 Got expected error (code 0)
278 Last query
279 Last query
280 0 rows affected
281 Got expected error (code 0)
282 Mysqlx.Ok {
283 msg: "bye!"
284 }
285 ok
286
287 ## F. Execute the test using lz4/group
288 #
289
290
291 ## I. Compression and Open expectation block with no-error condition
292 #
293 # 1. Fail the expectation block and check that each message that
294 # was compressed is replied with error without executing it
295 # 2. Close expectation block and check that compressed messages
296 # are correctly decompressed (context in sync) and executed
297
298 #
299 # I.1
300 send Mysqlx.Expect.Open {
301 cond {
302 condition_key: 1
303 }
304 }
305
306 RUN recvok
307 RUN SELECT invalid_syntax(-)
308 While executing SELECT invalid_syntax(-):
309 Got expected error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 (code 1064)
310 Got expected error: Expectation failed: no_error (code 5159)
311 Got expected error: Expectation failed: no_error (code 5159)
312 Got expected error: Expectation failed: no_error (code 5159)
313
314 #
315 # I.2
316 send Mysqlx.Expect.Close {
317 }
318
319 Got expected error:
320 Mysqlx.Error {
321 severity: ERROR
322 code: 5159
323 msg: "Expectation failed: no_error"
324 sql_state: "HY000"
325 }
326
327 First query
328 First query
329 0 rows affected
330 Got expected error (code 0)
331 Second query
332 Second query
333 0 rows affected
334 Got expected error (code 0)
335 Last query
336 Last query
337 0 rows affected
338 Got expected error (code 0)
339 Mysqlx.Ok {
340 msg: "bye!"
341 }
342 ok
343
344 ## G. Execute the test using zstd/single
345 #
346
347
348 ## I. Compression and Open expectation block with no-error condition
349 #
350 # 1. Fail the expectation block and check that each message that
351 # was compressed is replied with error without executing it
352 # 2. Close expectation block and check that compressed messages
353 # are correctly decompressed (context in sync) and executed
354
355 #
356 # I.1
357 send Mysqlx.Expect.Open {
358 cond {
359 condition_key: 1
360 }
361 }
362
363 RUN recvok
364 RUN SELECT invalid_syntax(-)
365 While executing SELECT invalid_syntax(-):
366 Got expected error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 (code 1064)
367 Got expected error: Expectation failed: no_error (code 5159)
368 Got expected error: Expectation failed: no_error (code 5159)
369 Got expected error: Expectation failed: no_error (code 5159)
370
371 #
372 # I.2
373 send Mysqlx.Expect.Close {
374 }
375
376 Got expected error:
377 Mysqlx.Error {
378 severity: ERROR
379 code: 5159
380 msg: "Expectation failed: no_error"
381 sql_state: "HY000"
382 }
383
384 First query
385 First query
386 0 rows affected
387 Got expected error (code 0)
388 Second query
389 Second query
390 0 rows affected
391 Got expected error (code 0)
392 Last query
393 Last query
394 0 rows affected
395 Got expected error (code 0)
396 Mysqlx.Ok {
397 msg: "bye!"
398 }
399 ok
400
401 ## H. Execute the test using zstd/multiple
402 #
403
404
405 ## I. Compression and Open expectation block with no-error condition
406 #
407 # 1. Fail the expectation block and check that each message that
408 # was compressed is replied with error without executing it
409 # 2. Close expectation block and check that compressed messages
410 # are correctly decompressed (context in sync) and executed
411
412 #
413 # I.1
414 send Mysqlx.Expect.Open {
415 cond {
416 condition_key: 1
417 }
418 }
419
420 RUN recvok
421 RUN SELECT invalid_syntax(-)
422 While executing SELECT invalid_syntax(-):
423 Got expected error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 (code 1064)
424 Got expected error: Expectation failed: no_error (code 5159)
425 Got expected error: Expectation failed: no_error (code 5159)
426 Got expected error: Expectation failed: no_error (code 5159)
427
428 #
429 # I.2
430 send Mysqlx.Expect.Close {
431 }
432
433 Got expected error:
434 Mysqlx.Error {
435 severity: ERROR
436 code: 5159
437 msg: "Expectation failed: no_error"
438 sql_state: "HY000"
439 }
440
441 First query
442 First query
443 0 rows affected
444 Got expected error (code 0)
445 Second query
446 Second query
447 0 rows affected
448 Got expected error (code 0)
449 Last query
450 Last query
451 0 rows affected
452 Got expected error (code 0)
453 Mysqlx.Ok {
454 msg: "bye!"
455 }
456 ok
457
458 ## I. Execute the test using zstd/group
459 #
460
461
462 ## I. Compression and Open expectation block with no-error condition
463 #
464 # 1. Fail the expectation block and check that each message that
465 # was compressed is replied with error without executing it
466 # 2. Close expectation block and check that compressed messages
467 # are correctly decompressed (context in sync) and executed
468
469 #
470 # I.1
471 send Mysqlx.Expect.Open {
472 cond {
473 condition_key: 1
474 }
475 }
476
477 RUN recvok
478 RUN SELECT invalid_syntax(-)
479 While executing SELECT invalid_syntax(-):
480 Got expected error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 (code 1064)
481 Got expected error: Expectation failed: no_error (code 5159)
482 Got expected error: Expectation failed: no_error (code 5159)
483 Got expected error: Expectation failed: no_error (code 5159)
484
485 #
486 # I.2
487 send Mysqlx.Expect.Close {
488 }
489
490 Got expected error:
491 Mysqlx.Error {
492 severity: ERROR
493 code: 5159
494 msg: "Expectation failed: no_error"
495 sql_state: "HY000"
496 }
497
498 First query
499 First query
500 0 rows affected
501 Got expected error (code 0)
502 Second query
503 Second query
504 0 rows affected
505 Got expected error (code 0)
506 Last query
507 Last query
508 0 rows affected
509 Got expected error (code 0)
510 Mysqlx.Ok {
511 msg: "bye!"
512 }
513 ok