Current Path : /home/usr.opt/mysql57/mysql-test/suite/sys_vars/r/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //home/usr.opt/mysql57/mysql-test/suite/sys_vars/r/master_info_repository_basic.result |
CALL mtr.add_suppression("The repository is not configured properly. Please, fix this before using replication."); '#---------------------BS_STVARS_002_01----------------------#' SELECT @@GLOBAL.master_info_repository; @@GLOBAL.master_info_repository FILE SELECT COUNT(@@GLOBAL.master_info_repository); COUNT(@@GLOBAL.master_info_repository) 1 1 Expected SELECT COUNT(@@SESSION.master_info_repository); ERROR HY000: Variable 'master_info_repository' is a GLOBAL variable '#---------------------BS_STVARS_002_02----------------------#' SET @@GLOBAL.master_info_repository= "TABLE"; SELECT @@GLOBAL.master_info_repository; @@GLOBAL.master_info_repository TABLE '#---------------------BS_STVARS_002_03----------------------#' SELECT @@GLOBAL.master_info_repository = VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_NAME='master_info_repository'; @@GLOBAL.master_info_repository = VARIABLE_VALUE 1 1 Expected SELECT COUNT(@@GLOBAL.master_info_repository); COUNT(@@GLOBAL.master_info_repository) 1 1 Expected SELECT COUNT(VARIABLE_VALUE) FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_NAME='master_info_repository'; COUNT(VARIABLE_VALUE) 1 1 Expected '#---------------------BS_STVARS_002_05----------------------#' SELECT COUNT(@@master_info_repository); COUNT(@@master_info_repository) 1 1 Expected SELECT COUNT(@@local.master_info_repository); ERROR HY000: Variable 'master_info_repository' is a GLOBAL variable SELECT COUNT(@@GLOBAL.master_info_repository); COUNT(@@GLOBAL.master_info_repository) 1 1 Expected '#---------------------BS_STVARS_002_06----------------------#' SET @@GLOBAL.master_info_repository= "FILE";