From 06eaf7232e9a920468c0f8d74dcf2fe8b555501c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 14:24:36 +0200 Subject: Adding upstream version 1:10.11.6. Signed-off-by: Daniel Baumann --- mysql-test/main/log_state_bug33693.test | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 mysql-test/main/log_state_bug33693.test (limited to 'mysql-test/main/log_state_bug33693.test') diff --git a/mysql-test/main/log_state_bug33693.test b/mysql-test/main/log_state_bug33693.test new file mode 100644 index 00000000..d67b28fc --- /dev/null +++ b/mysql-test/main/log_state_bug33693.test @@ -0,0 +1,18 @@ +### t/log_state_bug33693.test +# +# Regression test for bug #33693 +# "general log name and location depend on PID +# file, not on predefined values" +# +# The server is started with a hard-coded +# PID file in the $MYSQLTEST_VARDIR/run +# directory, and an unspecified general log +# file name. +# +# The correct result should show the log file to +# rest in the database directory. Unfixed, the +# log file will be in the same directory as the +# PID. + +--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR +--eval SELECT INSTR(@@general_log_file, '$MYSQLTEST_VARDIR/run'); -- cgit v1.2.3