Test for setting general_log_file to a directory fails

since /tmp is used as the directory. It does not always
exist so let's use one that always exists MYSQLTEST_VARDIR
This commit is contained in:
unknown 2007-02-20 21:00:05 +01:00
commit 2e70c5811c
2 changed files with 10 additions and 3 deletions

View file

@ -94,8 +94,8 @@ Variable_name Value
log_output FILE,TABLE
set global general_log_file='/not exiting path/log.master';
ERROR 42000: Variable 'general_log_file' can't be set to the value of '/not exiting path/log.master'
set global general_log_file='/tmp';
ERROR 42000: Variable 'general_log_file' can't be set to the value of '/tmp'
set global general_log_file='MYSQLTEST_VARDIR';
ERROR 42000: Variable 'general_log_file' can't be set to the value of 'MYSQLTEST_VARDIR'
set global general_log_file='';
ERROR 42000: Variable 'general_log_file' can't be set to the value of ''
show variables like 'general_log_file';