Commit 66119b7
committed
Add comments to select @@Version queries to bypass ProxySQL interception
ProxySQL now responds directly to `select @@version` queries, which prevents
these queries from reaching the backend MySQL server. This commit adds
`/* set_testing */` comments to these queries in test files to prevent
perfect match interception and allow them to run on the backend.
Modified files:
- test/tap/tap/utils.cpp
- test/tap/tests/set_testing-240.h
- test/tap/tests/set_testing.h
- test/tap/tests/test_firewall-t.cpp1 parent 5a314d2 commit 66119b7
File tree
4 files changed
+4
-4
lines changed- test/tap
- tap
- tests
4 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
403 | | - | |
| 403 | + | |
404 | 404 | | |
405 | 405 | | |
406 | 406 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
477 | | - | |
| 477 | + | |
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
473 | 473 | | |
474 | 474 | | |
475 | 475 | | |
476 | | - | |
| 476 | + | |
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
0 commit comments