1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Trivial fixups, no code changes

- Indentation changes
- Fixed wrong name for used in DBUG_ENTER
- Added some code comments
This commit is contained in:
Monty
2020-09-13 15:51:26 +03:00
parent dd757ee02f
commit 3c4b8440eb
5 changed files with 32 additions and 19 deletions

View File

@ -6562,8 +6562,8 @@ exit:;
/**
Check if we should log a table DDL to the binlog
@@return true yes
@@return false no
@retval true yes
@retval false no
*/
bool THD::binlog_table_should_be_logged(const LEX_CSTRING *db)
@ -7452,14 +7452,14 @@ int THD::binlog_query(THD::enum_binlog_query_type qtype, char const *query_arg,
*/
if (binlog_should_compress(query_len))
{
Query_compressed_log_event qinfo(this, query_arg, query_len, is_trans, direct,
suppress_use, errcode);
Query_compressed_log_event qinfo(this, query_arg, query_len, is_trans,
direct, suppress_use, errcode);
error= mysql_bin_log.write(&qinfo);
}
else
{
Query_log_event qinfo(this, query_arg, query_len, is_trans, direct,
suppress_use, errcode);
suppress_use, errcode);
error= mysql_bin_log.write(&qinfo);
}
/*