| 1 |
SET @save_binlog_commit_wait_usec= @@GLOBAL.binlog_commit_wait_usec; |
| 2 |
SELECT @@GLOBAL.binlog_commit_wait_usec as 'check default'; |
| 3 |
check default |
| 4 |
100000 |
| 5 |
SELECT @@SESSION.binlog_commit_wait_usec as 'no session var'; |
| 6 |
ERROR HY000: Variable 'binlog_commit_wait_usec' is a GLOBAL variable |
| 7 |
SET GLOBAL binlog_commit_wait_usec= 0; |
| 8 |
SET GLOBAL binlog_commit_wait_usec= DEFAULT; |
| 9 |
SET GLOBAL binlog_commit_wait_usec= 10000; |
| 10 |
SELECT @@GLOBAL.binlog_commit_wait_usec; |
| 11 |
@@GLOBAL.binlog_commit_wait_usec |
| 12 |
10000 |
| 13 |
SET GLOBAL binlog_commit_wait_usec = @save_binlog_commit_wait_usec; |