| 1 |
SET @save_binlog_commit_wait_count= @@GLOBAL.binlog_commit_wait_count; |
| 2 |
SELECT @@GLOBAL.binlog_commit_wait_count as 'must be zero because of default'; |
| 3 |
must be zero because of default |
| 4 |
0 |
| 5 |
SELECT @@SESSION.binlog_commit_wait_count as 'no session var'; |
| 6 |
ERROR HY000: Variable 'binlog_commit_wait_count' is a GLOBAL variable |
| 7 |
SET GLOBAL binlog_commit_wait_count= 0; |
| 8 |
SET GLOBAL binlog_commit_wait_count= DEFAULT; |
| 9 |
SET GLOBAL binlog_commit_wait_count= 10; |
| 10 |
SELECT @@GLOBAL.binlog_commit_wait_count; |
| 11 |
@@GLOBAL.binlog_commit_wait_count |
| 12 |
10 |
| 13 |
SET GLOBAL binlog_commit_wait_count = @save_binlog_commit_wait_count; |