Commit d82966d
fix QUERY_LOG_GAP_LOCK ER_CANT_OPEN_FILE log crashes the server
Summary:
in mysqld.cc `LogErr(ERROR_LEVEL, ER_CANT_OPEN_FILE)` crashes the server because it does not pass parameter for error message format.
This log is not needed because `query_logger.reopen_log_file(QUERY_LOG_GAP_LOCK)` already writes error log on error.
Squash with "Optionally block/log queries relying on Gap Locks [non-RocksDB part]"
Differential Revision: D46373689
Privacy Context Container: L11246481 parent a9fde68 commit d82966d
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7830 | 7830 | | |
7831 | 7831 | | |
7832 | 7832 | | |
7833 | | - | |
| 7833 | + | |
7834 | 7834 | | |
7835 | | - | |
7836 | | - | |
| 7835 | + | |
7837 | 7836 | | |
7838 | 7837 | | |
7839 | 7838 | | |
| |||
0 commit comments