inline bool binlog_should_compress(ulong len)
{
  return opt_bin_log_compress &&
    len >= opt_bin_log_compress_min_len;
}
inline bool binlog_should_compress(ulong len)
{
  return opt_bin_log_compress &&
    len >= opt_bin_log_compress_min_len;
}