2023-10-26 11:24:22 +02:00
|
|
|
################################################################################
|
|
|
|
# Support binlog_row_image FULL_NODUP mode
|
|
|
|
#
|
|
|
|
# In FULL_NODUP:
|
|
|
|
# - before image includes all columns.
|
|
|
|
# - after image includes only changed columns.
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
--source include/have_binlog_format_row.inc
|
2024-05-28 07:08:51 +02:00
|
|
|
--source include/test_db_charset_latin1.inc
|
|
|
|
|
2023-10-26 11:24:22 +02:00
|
|
|
--echo #
|
|
|
|
--echo # FULL_NODUP mode works as expected
|
|
|
|
--echo #
|
|
|
|
SET binlog_row_image = "FULL_NODUP";
|
|
|
|
--source suite/binlog/include/row_img.test
|
|
|
|
|
|
|
|
--echo #
|
|
|
|
--echo # MINIMAL mode works as expected
|
|
|
|
--echo #
|
|
|
|
SET binlog_row_image = "MINIMAL";
|
|
|
|
--source suite/binlog/include/row_img.test
|
|
|
|
|
|
|
|
--echo #
|
|
|
|
--echo # NOBLOB mode works as expected
|
|
|
|
--echo #
|
|
|
|
SET binlog_row_image = "NOBLOB";
|
|
|
|
--source suite/binlog/include/row_img.test
|
|
|
|
|
|
|
|
--echo #
|
|
|
|
--echo # FULL mode works as expected
|
|
|
|
--echo #
|
|
|
|
SET binlog_row_image = "FULL";
|
|
|
|
--source suite/binlog/include/row_img.test
|
|
|
|
|
|
|
|
RESET MASTER;
|
|
|
|
|
2024-05-28 07:08:51 +02:00
|
|
|
--source include/test_db_charset_restore.inc
|