Commit 8d1e72f
Fix SQL mode discovery to preserve all MySQL connection arguments
- Replace empty foreach loop in get_current_sql_modes() with proper MySQL argument preservation using get_mysql_args()
- Add ssl-verify-server-cert to allowed MySQL options list
- Add test case to verify connection arguments are preserved during SQL mode discovery
- Fixes issue where connection flags like --ssl-verify-server-cert were lost during SQL mode discovery
Co-authored-by: lkraav <[email protected]>1 parent 5389fcc commit 8d1e72f
2 files changed
+9
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
97 | 103 | | |
98 | 104 | | |
99 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2052 | 2052 | | |
2053 | 2053 | | |
2054 | 2054 | | |
| 2055 | + | |
2055 | 2056 | | |
2056 | 2057 | | |
2057 | 2058 | | |
| |||
2162 | 2163 | | |
2163 | 2164 | | |
2164 | 2165 | | |
2165 | | - | |
2166 | | - | |
2167 | | - | |
2168 | | - | |
2169 | | - | |
2170 | | - | |
2171 | | - | |
| 2166 | + | |
| 2167 | + | |
2172 | 2168 | | |
2173 | 2169 | | |
2174 | 2170 | | |
| |||
0 commit comments