| 1 |
--source include/have_debug_sync.inc |
| 2 |
# |
| 3 |
# exists as session only |
| 4 |
# |
| 5 |
--error ER_INCORRECT_GLOBAL_LOCAL_VAR |
| 6 |
select @@global.debug_sync; |
| 7 |
select @@session.debug_sync; |
| 8 |
|
| 9 |
show global variables like "debug_sync"; |
| 10 |
show session variables like "debug_sync"; |
| 11 |
|
| 12 |
--disable_warnings |
| 13 |
select * from performance_schema.global_variables where variable_name="debug_sync"; |
| 14 |
select * from performance_schema.session_variables where variable_name="debug_sync"; |
| 15 |
--enable_warnings |
| 16 |
|
| 17 |
--error ER_WRONG_TYPE_FOR_VAR |
| 18 |
set @@session.debug_sync=1; |
| 19 |
--error ER_WRONG_TYPE_FOR_VAR |
| 20 |
set @@session.debug_sync=1.1; |
| 21 |
--error ER_WRONG_TYPE_FOR_VAR |
| 22 |
set @@session.debug_sync=1e1; |
| 23 |
|