| 1 |
--source include/not_embedded.inc |
| 2 |
|
| 3 |
SET @save_binlog_commit_wait_count= @@GLOBAL.binlog_commit_wait_count; |
| 4 |
|
| 5 |
SELECT @@GLOBAL.binlog_commit_wait_count as 'must be zero because of default'; |
| 6 |
--error ER_INCORRECT_GLOBAL_LOCAL_VAR |
| 7 |
SELECT @@SESSION.binlog_commit_wait_count as 'no session var'; |
| 8 |
|
| 9 |
SET GLOBAL binlog_commit_wait_count= 0; |
| 10 |
SET GLOBAL binlog_commit_wait_count= DEFAULT; |
| 11 |
SET GLOBAL binlog_commit_wait_count= 10; |
| 12 |
SELECT @@GLOBAL.binlog_commit_wait_count; |
| 13 |
|
| 14 |
SET GLOBAL binlog_commit_wait_count = @save_binlog_commit_wait_count; |