summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/sys_vars/r/slave_load_tmpdir_basic.result
blob: ae30fbacb2b9027a47d48a374bc28a40739ae6d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
select @@global.slave_load_tmpdir;
@@global.slave_load_tmpdir
MYSQL_TMP_DIR/mysqld.1
select @@session.slave_load_tmpdir;
ERROR HY000: Variable 'slave_load_tmpdir' is a GLOBAL variable
show global variables like 'slave_load_tmpdir';
Variable_name	Value
slave_load_tmpdir	MYSQL_TMP_DIR/mysqld.1
show session variables like 'slave_load_tmpdir';
Variable_name	Value
slave_load_tmpdir	MYSQL_TMP_DIR/mysqld.1
select * from information_schema.global_variables where variable_name='slave_load_tmpdir';
VARIABLE_NAME	VARIABLE_VALUE
SLAVE_LOAD_TMPDIR	MYSQL_TMP_DIR/mysqld.1
select * from information_schema.session_variables where variable_name='slave_load_tmpdir';
VARIABLE_NAME	VARIABLE_VALUE
SLAVE_LOAD_TMPDIR	MYSQL_TMP_DIR/mysqld.1
set global slave_load_tmpdir=1;
ERROR HY000: Variable 'slave_load_tmpdir' is a read only variable
set session slave_load_tmpdir=1;
ERROR HY000: Variable 'slave_load_tmpdir' is a read only variable