mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
d9f975d08b
Adjust full test suite to work with GTID. Huge patch, mainly due to having to update .result file for all SHOW BINLOG EVENTS and mysqlbinlog outputs, where the new GTID events pop up. Everything was painstakingly checked to be still correct and valid .result file updates.
28 lines
1 KiB
PHP
28 lines
1 KiB
PHP
##############################################################################
|
|
#
|
|
# binlog_start_pos is the postion of the the first event in the binary log
|
|
# which follows the Format description event. Intended to reduce test suite
|
|
# dependance on the Format description event length changes (e.g. in case
|
|
# of adding new events). Evaluated as:
|
|
#
|
|
# binlog_start_pos = 4 /* binlog header */ +
|
|
# (Format_description_log_event length)
|
|
#
|
|
# Format_description_log_event length =
|
|
# 19 /* event common header */ +
|
|
# 57 /* misc stuff in the Format description header */ +
|
|
# number of events +
|
|
# 1 /* Checksum algorithm */ +
|
|
# 4 /* CRC32 length */
|
|
#
|
|
# With current number of events = 163,
|
|
#
|
|
# binlog_start_pos = 4 + 19 + 57 + 163 + 1 + 4 = 248.
|
|
#
|
|
##############################################################################
|
|
|
|
let $binlog_start_pos=248;
|
|
--disable_query_log
|
|
SET @binlog_start_pos=248;
|
|
--enable_query_log
|
|
|