File tree 1 file changed +13
-3
lines changed
1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -38,11 +38,11 @@ type TableMapEvent struct {
38
38
NullBitmap []byte
39
39
40
40
/*
41
- The followings are available only after MySQL-8.0.1 or MariaDB-10.5.0
41
+ The following are available only after MySQL-8.0.1 or MariaDB-10.5.0
42
+ By default MySQL and MariaDB do not log the full row metadata.
42
43
see:
43
44
- https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_binlog_row_metadata
44
- - https://mysqlhighavailability.com/more-metadata-is-written-into-binary-log/
45
- - https://jira.mariadb.org/browse/MDEV-20477
45
+ - https://mariadb.com/kb/en/replication-and-binary-log-system-variables/#binlog_row_metadata
46
46
*/
47
47
48
48
// SignednessBitmap stores signedness info for numeric columns.
@@ -830,6 +830,16 @@ type RowsEvent struct {
830
830
831
831
//lenenc_int
832
832
ColumnCount uint64
833
+
834
+ /*
835
+ By default MySQL and MariaDB log the full row image.
836
+ see
837
+ - https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_binlog_row_image
838
+ - https://mariadb.com/kb/en/replication-and-binary-log-system-variables/#binlog_row_image
839
+
840
+ ColumnBitmap1, ColumnBitmap2 and SkippedColumns are not set on the full row image.
841
+ */
842
+
833
843
//len = (ColumnCount + 7) / 8
834
844
ColumnBitmap1 []byte
835
845
You can’t perform that action at this time.
0 commit comments