Commit 7d0d9eab authored by Nikita Malyavin's avatar Nikita Malyavin Committed by Sergei Golubchik

add to binlog_bytes_written for an initial description event

parent 2952274a
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment