mirror of
https://github.com/MariaDB/server.git
synced 2026-05-04 22:25:32 +02:00
MDEV-11065: Compressed binary log. Merge code into current 10.2.
Conflicts: sql/share/errmsg-utf8.txt
This commit is contained in:
commit
b002509b67
30 changed files with 2079 additions and 123 deletions
|
|
@ -1157,6 +1157,18 @@ static Sys_var_mybool Sys_log_bin(
|
|||
"log_bin", "Whether the binary log is enabled",
|
||||
READ_ONLY GLOBAL_VAR(opt_bin_log), NO_CMD_LINE, DEFAULT(FALSE));
|
||||
|
||||
static Sys_var_mybool Sys_log_bin_compress(
|
||||
"log_bin_compress", "Whether the binary log can be compressed",
|
||||
GLOBAL_VAR(opt_bin_log_compress), CMD_LINE(OPT_ARG), DEFAULT(FALSE));
|
||||
|
||||
/* the min length is 10, means that Begin/Commit/Rollback would never be compressed! */
|
||||
static Sys_var_uint Sys_log_bin_compress_min_len(
|
||||
"log_bin_compress_min_len",
|
||||
"Minimum length of sql statement(in statement mode) or record(in row mode)"
|
||||
"that can be compressed.",
|
||||
GLOBAL_VAR(opt_bin_log_compress_min_len),
|
||||
CMD_LINE(OPT_ARG), VALID_RANGE(10, 1024), DEFAULT(256), BLOCK_SIZE(1));
|
||||
|
||||
static Sys_var_mybool Sys_trust_function_creators(
|
||||
"log_bin_trust_function_creators",
|
||||
"If set to FALSE (the default), then when --log-bin is used, creation "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue