| 1 |
|
| 2 |
## A. Execute the test using valid compression: deflate + combine mixed=false |
| 3 |
# |
| 4 |
|
| 5 |
|
| 6 |
## I. Send compression message to the server and verify successful execution |
| 7 |
# also show that neither "server_combine_mixed_messages" nor "server_max_combine_messages" |
| 8 |
# has influence on client compression messages |
| 9 |
# |
| 10 |
# 1. Send compression message containing single X Protocol message (StmtExecute) |
| 11 |
# 2. Send compression message containing single X Protocol message (Expect.Open) |
| 12 |
# 3. Send compression message containing multiple X Protocol message |
| 13 |
# of the same type (StmtExecute) |
| 14 |
# 4. Send compression message containing multiple X Protocol message |
| 15 |
# of the different types (StmtExecute, Expect.Open) |
| 16 |
|
| 17 |
# |
| 18 |
# I.1 |
| 19 |
1 |
| 20 |
1 |
| 21 |
0 rows affected |
| 22 |
|
| 23 |
# |
| 24 |
# I.2 |
| 25 |
RUN recvok |
| 26 |
|
| 27 |
# |
| 28 |
# I.3 |
| 29 |
2 |
| 30 |
2 |
| 31 |
0 rows affected |
| 32 |
3 |
| 33 |
3 |
| 34 |
0 rows affected |
| 35 |
4 |
| 36 |
4 |
| 37 |
0 rows affected |
| 38 |
|
| 39 |
# |
| 40 |
# I.4 |
| 41 |
RUN recvok |
| 42 |
5 |
| 43 |
5 |
| 44 |
0 rows affected |
| 45 |
|
| 46 |
command ok |
| 47 |
Mysqlx.Ok { |
| 48 |
msg: "bye!" |
| 49 |
} |
| 50 |
ok |
| 51 |
|
| 52 |
## B. Execute the test using valid compression: deflate + combine mixed=true |
| 53 |
# |
| 54 |
|
| 55 |
|
| 56 |
## I. Send compression message to the server and verify successful execution |
| 57 |
# also show that neither "server_combine_mixed_messages" nor "server_max_combine_messages" |
| 58 |
# has influence on client compression messages |
| 59 |
# |
| 60 |
# 1. Send compression message containing single X Protocol message (StmtExecute) |
| 61 |
# 2. Send compression message containing single X Protocol message (Expect.Open) |
| 62 |
# 3. Send compression message containing multiple X Protocol message |
| 63 |
# of the same type (StmtExecute) |
| 64 |
# 4. Send compression message containing multiple X Protocol message |
| 65 |
# of the different types (StmtExecute, Expect.Open) |
| 66 |
|
| 67 |
# |
| 68 |
# I.1 |
| 69 |
1 |
| 70 |
1 |
| 71 |
0 rows affected |
| 72 |
|
| 73 |
# |
| 74 |
# I.2 |
| 75 |
RUN recvok |
| 76 |
|
| 77 |
# |
| 78 |
# I.3 |
| 79 |
2 |
| 80 |
2 |
| 81 |
0 rows affected |
| 82 |
3 |
| 83 |
3 |
| 84 |
0 rows affected |
| 85 |
4 |
| 86 |
4 |
| 87 |
0 rows affected |
| 88 |
|
| 89 |
# |
| 90 |
# I.4 |
| 91 |
RUN recvok |
| 92 |
5 |
| 93 |
5 |
| 94 |
0 rows affected |
| 95 |
|
| 96 |
command ok |
| 97 |
Mysqlx.Ok { |
| 98 |
msg: "bye!" |
| 99 |
} |
| 100 |
ok |
| 101 |
|
| 102 |
## C. Execute the test using valid compression: deflate + combine mixed=true + limit-messages=1 |
| 103 |
# |
| 104 |
|
| 105 |
|
| 106 |
## I. Send compression message to the server and verify successful execution |
| 107 |
# also show that neither "server_combine_mixed_messages" nor "server_max_combine_messages" |
| 108 |
# has influence on client compression messages |
| 109 |
# |
| 110 |
# 1. Send compression message containing single X Protocol message (StmtExecute) |
| 111 |
# 2. Send compression message containing single X Protocol message (Expect.Open) |
| 112 |
# 3. Send compression message containing multiple X Protocol message |
| 113 |
# of the same type (StmtExecute) |
| 114 |
# 4. Send compression message containing multiple X Protocol message |
| 115 |
# of the different types (StmtExecute, Expect.Open) |
| 116 |
|
| 117 |
# |
| 118 |
# I.1 |
| 119 |
1 |
| 120 |
1 |
| 121 |
0 rows affected |
| 122 |
|
| 123 |
# |
| 124 |
# I.2 |
| 125 |
RUN recvok |
| 126 |
|
| 127 |
# |
| 128 |
# I.3 |
| 129 |
2 |
| 130 |
2 |
| 131 |
0 rows affected |
| 132 |
3 |
| 133 |
3 |
| 134 |
0 rows affected |
| 135 |
4 |
| 136 |
4 |
| 137 |
0 rows affected |
| 138 |
|
| 139 |
# |
| 140 |
# I.4 |
| 141 |
RUN recvok |
| 142 |
5 |
| 143 |
5 |
| 144 |
0 rows affected |
| 145 |
|
| 146 |
command ok |
| 147 |
Mysqlx.Ok { |
| 148 |
msg: "bye!" |
| 149 |
} |
| 150 |
ok |
| 151 |
|
| 152 |
## D. Execute the test using valid compression: deflate + combine mixed=true + limit-messages=2 |
| 153 |
# |
| 154 |
|
| 155 |
|
| 156 |
## I. Send compression message to the server and verify successful execution |
| 157 |
# also show that neither "server_combine_mixed_messages" nor "server_max_combine_messages" |
| 158 |
# has influence on client compression messages |
| 159 |
# |
| 160 |
# 1. Send compression message containing single X Protocol message (StmtExecute) |
| 161 |
# 2. Send compression message containing single X Protocol message (Expect.Open) |
| 162 |
# 3. Send compression message containing multiple X Protocol message |
| 163 |
# of the same type (StmtExecute) |
| 164 |
# 4. Send compression message containing multiple X Protocol message |
| 165 |
# of the different types (StmtExecute, Expect.Open) |
| 166 |
|
| 167 |
# |
| 168 |
# I.1 |
| 169 |
1 |
| 170 |
1 |
| 171 |
0 rows affected |
| 172 |
|
| 173 |
# |
| 174 |
# I.2 |
| 175 |
RUN recvok |
| 176 |
|
| 177 |
# |
| 178 |
# I.3 |
| 179 |
2 |
| 180 |
2 |
| 181 |
0 rows affected |
| 182 |
3 |
| 183 |
3 |
| 184 |
0 rows affected |
| 185 |
4 |
| 186 |
4 |
| 187 |
0 rows affected |
| 188 |
|
| 189 |
# |
| 190 |
# I.4 |
| 191 |
RUN recvok |
| 192 |
5 |
| 193 |
5 |
| 194 |
0 rows affected |
| 195 |
|
| 196 |
command ok |
| 197 |
Mysqlx.Ok { |
| 198 |
msg: "bye!" |
| 199 |
} |
| 200 |
ok |
| 201 |
|
| 202 |
## E. Execute the test using valid compression: lz4 + combine mixed=false |
| 203 |
# |
| 204 |
|
| 205 |
|
| 206 |
## I. Send compression message to the server and verify successful execution |
| 207 |
# also show that neither "server_combine_mixed_messages" nor "server_max_combine_messages" |
| 208 |
# has influence on client compression messages |
| 209 |
# |
| 210 |
# 1. Send compression message containing single X Protocol message (StmtExecute) |
| 211 |
# 2. Send compression message containing single X Protocol message (Expect.Open) |
| 212 |
# 3. Send compression message containing multiple X Protocol message |
| 213 |
# of the same type (StmtExecute) |
| 214 |
# 4. Send compression message containing multiple X Protocol message |
| 215 |
# of the different types (StmtExecute, Expect.Open) |
| 216 |
|
| 217 |
# |
| 218 |
# I.1 |
| 219 |
1 |
| 220 |
1 |
| 221 |
0 rows affected |
| 222 |
|
| 223 |
# |
| 224 |
# I.2 |
| 225 |
RUN recvok |
| 226 |
|
| 227 |
# |
| 228 |
# I.3 |
| 229 |
2 |
| 230 |
2 |
| 231 |
0 rows affected |
| 232 |
3 |
| 233 |
3 |
| 234 |
0 rows affected |
| 235 |
4 |
| 236 |
4 |
| 237 |
0 rows affected |
| 238 |
|
| 239 |
# |
| 240 |
# I.4 |
| 241 |
RUN recvok |
| 242 |
5 |
| 243 |
5 |
| 244 |
0 rows affected |
| 245 |
|
| 246 |
command ok |
| 247 |
Mysqlx.Ok { |
| 248 |
msg: "bye!" |
| 249 |
} |
| 250 |
ok |
| 251 |
|
| 252 |
## F. Execute the test using valid compression: lz4 + combine mixed=true |
| 253 |
# |
| 254 |
|
| 255 |
|
| 256 |
## I. Send compression message to the server and verify successful execution |
| 257 |
# also show that neither "server_combine_mixed_messages" nor "server_max_combine_messages" |
| 258 |
# has influence on client compression messages |
| 259 |
# |
| 260 |
# 1. Send compression message containing single X Protocol message (StmtExecute) |
| 261 |
# 2. Send compression message containing single X Protocol message (Expect.Open) |
| 262 |
# 3. Send compression message containing multiple X Protocol message |
| 263 |
# of the same type (StmtExecute) |
| 264 |
# 4. Send compression message containing multiple X Protocol message |
| 265 |
# of the different types (StmtExecute, Expect.Open) |
| 266 |
|
| 267 |
# |
| 268 |
# I.1 |
| 269 |
1 |
| 270 |
1 |
| 271 |
0 rows affected |
| 272 |
|
| 273 |
# |
| 274 |
# I.2 |
| 275 |
RUN recvok |
| 276 |
|
| 277 |
# |
| 278 |
# I.3 |
| 279 |
2 |
| 280 |
2 |
| 281 |
0 rows affected |
| 282 |
3 |
| 283 |
3 |
| 284 |
0 rows affected |
| 285 |
4 |
| 286 |
4 |
| 287 |
0 rows affected |
| 288 |
|
| 289 |
# |
| 290 |
# I.4 |
| 291 |
RUN recvok |
| 292 |
5 |
| 293 |
5 |
| 294 |
0 rows affected |
| 295 |
|
| 296 |
command ok |
| 297 |
Mysqlx.Ok { |
| 298 |
msg: "bye!" |
| 299 |
} |
| 300 |
ok |
| 301 |
|
| 302 |
## G. Execute the test using valid compression: lz4 + combine mixed=true + limit-messages=1 |
| 303 |
# |
| 304 |
|
| 305 |
|
| 306 |
## I. Send compression message to the server and verify successful execution |
| 307 |
# also show that neither "server_combine_mixed_messages" nor "server_max_combine_messages" |
| 308 |
# has influence on client compression messages |
| 309 |
# |
| 310 |
# 1. Send compression message containing single X Protocol message (StmtExecute) |
| 311 |
# 2. Send compression message containing single X Protocol message (Expect.Open) |
| 312 |
# 3. Send compression message containing multiple X Protocol message |
| 313 |
# of the same type (StmtExecute) |
| 314 |
# 4. Send compression message containing multiple X Protocol message |
| 315 |
# of the different types (StmtExecute, Expect.Open) |
| 316 |
|
| 317 |
# |
| 318 |
# I.1 |
| 319 |
1 |
| 320 |
1 |
| 321 |
0 rows affected |
| 322 |
|
| 323 |
# |
| 324 |
# I.2 |
| 325 |
RUN recvok |
| 326 |
|
| 327 |
# |
| 328 |
# I.3 |
| 329 |
2 |
| 330 |
2 |
| 331 |
0 rows affected |
| 332 |
3 |
| 333 |
3 |
| 334 |
0 rows affected |
| 335 |
4 |
| 336 |
4 |
| 337 |
0 rows affected |
| 338 |
|
| 339 |
# |
| 340 |
# I.4 |
| 341 |
RUN recvok |
| 342 |
5 |
| 343 |
5 |
| 344 |
0 rows affected |
| 345 |
|
| 346 |
command ok |
| 347 |
Mysqlx.Ok { |
| 348 |
msg: "bye!" |
| 349 |
} |
| 350 |
ok |
| 351 |
|
| 352 |
## H. Execute the test using valid compression: lz4 + combine mixed=true + limit-messages=2 |
| 353 |
# |
| 354 |
|
| 355 |
|
| 356 |
## I. Send compression message to the server and verify successful execution |
| 357 |
# also show that neither "server_combine_mixed_messages" nor "server_max_combine_messages" |
| 358 |
# has influence on client compression messages |
| 359 |
# |
| 360 |
# 1. Send compression message containing single X Protocol message (StmtExecute) |
| 361 |
# 2. Send compression message containing single X Protocol message (Expect.Open) |
| 362 |
# 3. Send compression message containing multiple X Protocol message |
| 363 |
# of the same type (StmtExecute) |
| 364 |
# 4. Send compression message containing multiple X Protocol message |
| 365 |
# of the different types (StmtExecute, Expect.Open) |
| 366 |
|
| 367 |
# |
| 368 |
# I.1 |
| 369 |
1 |
| 370 |
1 |
| 371 |
0 rows affected |
| 372 |
|
| 373 |
# |
| 374 |
# I.2 |
| 375 |
RUN recvok |
| 376 |
|
| 377 |
# |
| 378 |
# I.3 |
| 379 |
2 |
| 380 |
2 |
| 381 |
0 rows affected |
| 382 |
3 |
| 383 |
3 |
| 384 |
0 rows affected |
| 385 |
4 |
| 386 |
4 |
| 387 |
0 rows affected |
| 388 |
|
| 389 |
# |
| 390 |
# I.4 |
| 391 |
RUN recvok |
| 392 |
5 |
| 393 |
5 |
| 394 |
0 rows affected |
| 395 |
|
| 396 |
command ok |
| 397 |
Mysqlx.Ok { |
| 398 |
msg: "bye!" |
| 399 |
} |
| 400 |
ok |
| 401 |
|
| 402 |
## I. Execute the test using valid compression: zstd + combine mixed=false |
| 403 |
# |
| 404 |
|
| 405 |
|
| 406 |
## I. Send compression message to the server and verify successful execution |
| 407 |
# also show that neither "server_combine_mixed_messages" nor "server_max_combine_messages" |
| 408 |
# has influence on client compression messages |
| 409 |
# |
| 410 |
# 1. Send compression message containing single X Protocol message (StmtExecute) |
| 411 |
# 2. Send compression message containing single X Protocol message (Expect.Open) |
| 412 |
# 3. Send compression message containing multiple X Protocol message |
| 413 |
# of the same type (StmtExecute) |
| 414 |
# 4. Send compression message containing multiple X Protocol message |
| 415 |
# of the different types (StmtExecute, Expect.Open) |
| 416 |
|
| 417 |
# |
| 418 |
# I.1 |
| 419 |
1 |
| 420 |
1 |
| 421 |
0 rows affected |
| 422 |
|
| 423 |
# |
| 424 |
# I.2 |
| 425 |
RUN recvok |
| 426 |
|
| 427 |
# |
| 428 |
# I.3 |
| 429 |
2 |
| 430 |
2 |
| 431 |
0 rows affected |
| 432 |
3 |
| 433 |
3 |
| 434 |
0 rows affected |
| 435 |
4 |
| 436 |
4 |
| 437 |
0 rows affected |
| 438 |
|
| 439 |
# |
| 440 |
# I.4 |
| 441 |
RUN recvok |
| 442 |
5 |
| 443 |
5 |
| 444 |
0 rows affected |
| 445 |
|
| 446 |
command ok |
| 447 |
Mysqlx.Ok { |
| 448 |
msg: "bye!" |
| 449 |
} |
| 450 |
ok |
| 451 |
|
| 452 |
## J. Execute the test using valid compression: zstd + combine mixed=true |
| 453 |
# |
| 454 |
|
| 455 |
|
| 456 |
## I. Send compression message to the server and verify successful execution |
| 457 |
# also show that neither "server_combine_mixed_messages" nor "server_max_combine_messages" |
| 458 |
# has influence on client compression messages |
| 459 |
# |
| 460 |
# 1. Send compression message containing single X Protocol message (StmtExecute) |
| 461 |
# 2. Send compression message containing single X Protocol message (Expect.Open) |
| 462 |
# 3. Send compression message containing multiple X Protocol message |
| 463 |
# of the same type (StmtExecute) |
| 464 |
# 4. Send compression message containing multiple X Protocol message |
| 465 |
# of the different types (StmtExecute, Expect.Open) |
| 466 |
|
| 467 |
# |
| 468 |
# I.1 |
| 469 |
1 |
| 470 |
1 |
| 471 |
0 rows affected |
| 472 |
|
| 473 |
# |
| 474 |
# I.2 |
| 475 |
RUN recvok |
| 476 |
|
| 477 |
# |
| 478 |
# I.3 |
| 479 |
2 |
| 480 |
2 |
| 481 |
0 rows affected |
| 482 |
3 |
| 483 |
3 |
| 484 |
0 rows affected |
| 485 |
4 |
| 486 |
4 |
| 487 |
0 rows affected |
| 488 |
|
| 489 |
# |
| 490 |
# I.4 |
| 491 |
RUN recvok |
| 492 |
5 |
| 493 |
5 |
| 494 |
0 rows affected |
| 495 |
|
| 496 |
command ok |
| 497 |
Mysqlx.Ok { |
| 498 |
msg: "bye!" |
| 499 |
} |
| 500 |
ok |
| 501 |
|
| 502 |
## K. Execute the test using valid compression: zstd + combine mixed=true + limit-messages=1 |
| 503 |
# |
| 504 |
|
| 505 |
|
| 506 |
## I. Send compression message to the server and verify successful execution |
| 507 |
# also show that neither "server_combine_mixed_messages" nor "server_max_combine_messages" |
| 508 |
# has influence on client compression messages |
| 509 |
# |
| 510 |
# 1. Send compression message containing single X Protocol message (StmtExecute) |
| 511 |
# 2. Send compression message containing single X Protocol message (Expect.Open) |
| 512 |
# 3. Send compression message containing multiple X Protocol message |
| 513 |
# of the same type (StmtExecute) |
| 514 |
# 4. Send compression message containing multiple X Protocol message |
| 515 |
# of the different types (StmtExecute, Expect.Open) |
| 516 |
|
| 517 |
# |
| 518 |
# I.1 |
| 519 |
1 |
| 520 |
1 |
| 521 |
0 rows affected |
| 522 |
|
| 523 |
# |
| 524 |
# I.2 |
| 525 |
RUN recvok |
| 526 |
|
| 527 |
# |
| 528 |
# I.3 |
| 529 |
2 |
| 530 |
2 |
| 531 |
0 rows affected |
| 532 |
3 |
| 533 |
3 |
| 534 |
0 rows affected |
| 535 |
4 |
| 536 |
4 |
| 537 |
0 rows affected |
| 538 |
|
| 539 |
# |
| 540 |
# I.4 |
| 541 |
RUN recvok |
| 542 |
5 |
| 543 |
5 |
| 544 |
0 rows affected |
| 545 |
|
| 546 |
command ok |
| 547 |
Mysqlx.Ok { |
| 548 |
msg: "bye!" |
| 549 |
} |
| 550 |
ok |
| 551 |
|
| 552 |
## L. Execute the test using valid compression: zstd + combine mixed=true + limit-messages=2 |
| 553 |
# |
| 554 |
|
| 555 |
|
| 556 |
## I. Send compression message to the server and verify successful execution |
| 557 |
# also show that neither "server_combine_mixed_messages" nor "server_max_combine_messages" |
| 558 |
# has influence on client compression messages |
| 559 |
# |
| 560 |
# 1. Send compression message containing single X Protocol message (StmtExecute) |
| 561 |
# 2. Send compression message containing single X Protocol message (Expect.Open) |
| 562 |
# 3. Send compression message containing multiple X Protocol message |
| 563 |
# of the same type (StmtExecute) |
| 564 |
# 4. Send compression message containing multiple X Protocol message |
| 565 |
# of the different types (StmtExecute, Expect.Open) |
| 566 |
|
| 567 |
# |
| 568 |
# I.1 |
| 569 |
1 |
| 570 |
1 |
| 571 |
0 rows affected |
| 572 |
|
| 573 |
# |
| 574 |
# I.2 |
| 575 |
RUN recvok |
| 576 |
|
| 577 |
# |
| 578 |
# I.3 |
| 579 |
2 |
| 580 |
2 |
| 581 |
0 rows affected |
| 582 |
3 |
| 583 |
3 |
| 584 |
0 rows affected |
| 585 |
4 |
| 586 |
4 |
| 587 |
0 rows affected |
| 588 |
|
| 589 |
# |
| 590 |
# I.4 |
| 591 |
RUN recvok |
| 592 |
5 |
| 593 |
5 |
| 594 |
0 rows affected |
| 595 |
|
| 596 |
command ok |
| 597 |
Mysqlx.Ok { |
| 598 |
msg: "bye!" |
| 599 |
} |
| 600 |
ok |