| 1 |
|
| 2 |
## 1. Verify pipelining of single prepare-execute request |
| 3 |
# a. prepare-execute |
| 4 |
# b. prepare-execute-cursor_open |
| 5 |
## 2. Verify pipelining of mixed prepare-execute requests |
| 6 |
# a. prepare1-preapre2-execute1-execute2 |
| 7 |
# b. prepare1-preapre2-execute1-deallocate1-execute2-deallocate2 |
| 8 |
|
| 9 |
1.a. Verify pipelining of single prepare-execute request (prepeare-execute) |
| 10 |
============================================================================ |
| 11 |
# Pipeline Mysqlx.Prepare.Prepare |
| 12 |
# Pipeline Mysqlx.Prepare.Execute |
| 13 |
# Receive Mysqlx.Prepare.Prepare |
| 14 |
RUN recvok |
| 15 |
# Receive Mysqlx.Prepare.Execute |
| 16 |
1 |
| 17 |
1 |
| 18 |
0 rows affected |
| 19 |
|
| 20 |
1.b. Verify pipelining of single prepare-execute request (prepeare-execute-cursor_open) |
| 21 |
======================================================================================== |
| 22 |
# Pipeline Mysqlx.Prepare.Prepare |
| 23 |
# Pipeline Mysqlx.Prepare.Execute |
| 24 |
# Pipeline Mysqlx.Cursor.Open |
| 25 |
# Receive Mysqlx.Prepare.Prepare |
| 26 |
RUN recvok |
| 27 |
# Receive Mysqlx.Prepare.Execute |
| 28 |
2 |
| 29 |
2 |
| 30 |
0 rows affected |
| 31 |
# Receive Mysqlx.Cursor.Open |
| 32 |
2 |
| 33 |
command ok |
| 34 |
|
| 35 |
2.a. Verify pipelining of mixed prepare-execute request (prepeare1-prepeare2-execute1-execute2) |
| 36 |
================================================================================================ |
| 37 |
# Pipeline Mysqlx.Prepare.Prepare |
| 38 |
# Pipeline Mysqlx.Prepare.Prepare |
| 39 |
# Pipeline Mysqlx.Prepare.Execute |
| 40 |
# Pipeline Mysqlx.Prepare.Execute |
| 41 |
# Receive Mysqlx.Prepare.Prepare |
| 42 |
RUN recvok |
| 43 |
# Receive Mysqlx.Prepare.Prepare |
| 44 |
RUN recvok |
| 45 |
# Receive Mysqlx.Prepare.Execute |
| 46 |
3 |
| 47 |
3 |
| 48 |
0 rows affected |
| 49 |
# Receive Mysqlx.Prepare.Execute |
| 50 |
4 |
| 51 |
4 |
| 52 |
0 rows affected |
| 53 |
|
| 54 |
2.b. Verify pipelining of mixed prepare-execute request (prepeare1-prepeare2-execute1-deallocate1-execute2-deallocate2) |
| 55 |
======================================================================================================================== |
| 56 |
# Pipeline Mysqlx.Prepare.Prepare |
| 57 |
# Pipeline Mysqlx.Prepare.Prepare |
| 58 |
# Pipeline Mysqlx.Prepare.Execute |
| 59 |
# Pipeline Mysqlx.Prepare.Deallocate |
| 60 |
# Pipeline Mysqlx.Prepare.Execute |
| 61 |
# Pipeline Mysqlx.Prepare.Deallocate |
| 62 |
# Receive Mysqlx.Prepare.Prepare |
| 63 |
RUN recvok |
| 64 |
# Receive Mysqlx.Prepare.Prepare |
| 65 |
RUN recvok |
| 66 |
# Receive Mysqlx.Prepare.Execute |
| 67 |
5 |
| 68 |
5 |
| 69 |
0 rows affected |
| 70 |
# Receive Mysqlx.Prepare.Deallocate |
| 71 |
RUN recvok |
| 72 |
# Receive Mysqlx.Prepare.Execute |
| 73 |
6 |
| 74 |
6 |
| 75 |
0 rows affected |
| 76 |
# Receive Mysqlx.Prepare.Deallocate |
| 77 |
RUN recvok |
| 78 |
Mysqlx.Ok { |
| 79 |
msg: "bye!" |
| 80 |
} |
| 81 |
ok |