mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
8e781601f4
Remove the too restrictive bugfix for bug#67088. FIFO can be used for general/slow logs, but lseek() and fsync() on FIFO fail. And open() needs to be non-blocking, in case the other end isn't reading.
11 lines
758 B
Text
11 lines
758 B
Text
# Case 1: Setting fifo file to general_log_file and slow_query_log_file
|
|
# system variable.
|
|
SET GLOBAL general_log_file="MYSQLTEST_VARDIR/tmp/general_log.fifo";;
|
|
ERROR 42000: Variable 'general_log_file' can't be set to the value of 'MYSQLTEST_VARDIR/tmp/general_log.fifo'
|
|
SET GLOBAL slow_query_log_file="MYSQLTEST_VARDIR/tmp/slow_log.fifo";;
|
|
ERROR 42000: Variable 'slow_query_log_file' can't be set to the value of 'MYSQLTEST_VARDIR/tmp/slow_log.fifo'
|
|
# Case 2: Starting server with fifo file as general log file
|
|
# and slow query log file.
|
|
call mtr.add_suppression("Could not use .* for logging \\(error 6\\)");
|
|
call mtr.add_suppression("File '.*' not found \\(Errcode: 6\\)");
|
|
Setting fifo file as general log file and slow query log failed.
|