1
########### mysql-test\t\slow_query_log_file_func.test #########################
3
# Variable Name: slow_query_log_file #
5
# Access Type: Dynamic #
8
# Valid Values: ON, OFF #
11
# Creation Date: 2008-03-17 #
12
# Author: Salman Rawala #
14
# Description: Test Cases of Dynamic System Variable "slow_query_log_file" #
15
# that checks functionality of this variable #
17
# Reference: http://dev.mysql.com/doc/refman/5.1/en/ #
18
# server-system-variables.html#option_mysqld_slow_query_log_file #
20
################################################################################
23
--echo '#--------------------FN_DYNVARS_018_01-------------------------#'
24
####################################################################
25
# Verifying log file after setting it in opt file #
26
####################################################################
28
--echo ## --file_exists var/master-data/my_slow_test.log ##
29
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
30
--file_exists $MYSQLTEST_VARDIR/master-data/my_slow_test.log
32
--echo ## This case should pass because we have set this filename in opt file ##