mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-11065: Compressed binary log. Merge code into current 10.2.
Conflicts: sql/share/errmsg-utf8.txt
This commit is contained in:
@ -5698,6 +5698,12 @@ void thd_exit_cond(MYSQL_THD thd, const PSI_stage_info *stage,
|
||||
#define THD_EXIT_COND(P1, P2) \
|
||||
thd_exit_cond(P1, P2, __func__, __FILE__, __LINE__)
|
||||
|
||||
inline bool binlog_should_compress(ulong len)
|
||||
{
|
||||
return opt_bin_log_compress &&
|
||||
len >= opt_bin_log_compress_min_len;
|
||||
}
|
||||
|
||||
#endif /* MYSQL_SERVER */
|
||||
|
||||
#endif /* SQL_CLASS_INCLUDED */
|
||||
|
Reference in New Issue
Block a user