Skip to content

Commit

Permalink
add to binlog_bytes_written for an initial description event
Browse files Browse the repository at this point in the history
  • Loading branch information
FooBarrior authored and vuvova committed Aug 15, 2023
1 parent 2952274 commit 7d0d9ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sql/log.cc
Expand Up @@ -3854,6 +3854,7 @@ bool Event_log::open(enum cache_type io_cache_type_arg)

longlong bytes_written= write_description_event(BINLOG_CHECKSUM_ALG_OFF,
false, true, false);
status_var_add(current_thd->status_var.binlog_bytes_written, bytes_written);
return bytes_written < 0;
}

Expand Down

0 comments on commit 7d0d9ea

Please sign in to comment.