| 1 |
# |
| 2 |
# MDEV-4774: Strangeness with max_binlog_stmt_cache_size Settings |
| 3 |
# |
| 4 |
CALL mtr.add_suppression("unsigned value 18446744073709547520 adjusted to 4294963200"); |
| 5 |
SELECT @@global.max_binlog_stmt_cache_size; |
| 6 |
@@global.max_binlog_stmt_cache_size |
| 7 |
MAX_BINLOG_STMT_CACHE_SIZE |
| 8 |
SET @cache_size= @@max_binlog_stmt_cache_size; |
| 9 |
SET @@global.max_binlog_stmt_cache_size= @cache_size+1; |
| 10 |
SELECT @@global.max_binlog_stmt_cache_size; |
| 11 |
@@global.max_binlog_stmt_cache_size |
| 12 |
MAX_BINLOG_STMT_CACHE_SIZE |
| 13 |
SET @@global.max_binlog_stmt_cache_size = @cache_size+4095; |
| 14 |
SELECT @@global.max_binlog_stmt_cache_size; |
| 15 |
@@global.max_binlog_stmt_cache_size |
| 16 |
MAX_BINLOG_STMT_CACHE_SIZE |
| 17 |
SET @@global.max_binlog_stmt_cache_size= @cache_size-1; |
| 18 |
SELECT @@global.max_binlog_stmt_cache_size = @cache_size-4096; |
| 19 |
@@global.max_binlog_stmt_cache_size = @cache_size-4096 |
| 20 |
1 |
| 21 |
SET @@global.max_binlog_stmt_cache_size= @cache_size; |
| 22 |
# End of test |