mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Cleanup's and more DBUG_PRINT's
- Rewrote bool Query_compressed_log_event::write() to make it more readable (no logic changes). - Changed DBUG_PRINT of 'is_error:' to 'is_error():' to make it easier to find error: in traces. - Ensure that 'db' is never null in Query_log_event (Simplified code).
This commit is contained in:
@ -7368,7 +7368,7 @@ int THD::binlog_query(THD::enum_binlog_query_type qtype, char const *query_arg,
|
||||
log event is written to the binary log, we pretend that no
|
||||
table maps were written.
|
||||
*/
|
||||
if(binlog_should_compress(query_len))
|
||||
if (binlog_should_compress(query_len))
|
||||
{
|
||||
Query_compressed_log_event qinfo(this, query_arg, query_len, is_trans, direct,
|
||||
suppress_use, errcode);
|
||||
|
Reference in New Issue
Block a user