mysql-test/suite/sys_vars/t/gtid_binlog_pos_basic.test
raw| 1 | --source include/not_embedded.inc |
| 2 | |
| 3 | --error ER_INCORRECT_GLOBAL_LOCAL_VAR |
| 4 | SET GLOBAL gtid_binlog_pos= ''; |
| 5 | SELECT variable_name FROM information_schema.global_variables |
| 6 | WHERE variable_name='gtid_binlog_pos'; |
| 7 | |
| 8 | # The value of the variable depends on the binary log, this is tested extensively |
| 9 | # elsewhere in rpl.rpl_gtid*.test |
| 10 | --disable_result_log |
| 11 | SELECT @@gtid_binlog_pos; |
| 12 | --enable_result_log |
| 13 | |
| 14 | --error ER_INCORRECT_GLOBAL_LOCAL_VAR |
| 15 | SELECT @@session.gtid_binlog_pos; |