Commit a631db3
committed
PS-9734 merge: Code refresh for 8.0.42-33 (main.mysqldump-tablespace-escape fix)
https://perconadev.atlassian.net/browse/PS-9734
This commit fixes a regression introduced by upstream in MySQL
Server 8.0.42. Oracle backported a secirity fix along with an MTR test
case for Bug# 37607195
"fprintf_string not using the actual quote parameter (mysql-trunk)"
(commit mysql/mysql-server@8afeb980783)
from 8.4 to 8.0.
Unfortunatelly, this MTR test case relies on 'mysqldump' utility
having '--init-command' command line option which is not the case
in 8.0 (WL#15662
"Add options to mysqldump to skip views and utilize read ahead"
has never been ported to 8.0).
Fixed by simulating '--init-command' with setting
'@@global.init_connect' system variable on the server side.1 parent 85dbd96 commit a631db3
File tree
2 files changed
+26
-1
lines changed- mysql-test
- r
- t
2 files changed
+26
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
60 | 69 | | |
61 | 70 | | |
62 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
88 | 104 | | |
89 | 105 | | |
90 | 106 | | |
| |||
0 commit comments