Skip to content

Conversation

@elianddb
Copy link
Contributor

@elianddb elianddb commented Oct 24, 2025

Fixes dolthub/dolt#9887

  • Add BinlogConsumer and BinlogConsumerCatalog interfaces.
  • Add BINLOG statement that decodes base64 encoded event strings and runs them on dolt's binlog replica applier using BinlogConsumer interface.
  • Add support for mariadb-binlog utility with new format support for sql_mode, collation_database, collation_connection, and collation_server, which can use bitmasks and IDs tied to system variable values.
  • Add new format int support for lc_time_names; this remains a no-op.
  • Add authentication handler for Binlog statement and new privilege types binlog_admin, replication_applier.
  • Other system variables have been added as no-ops for mariadb-binlog compatibility: skip_parallel_replication, gtid_domain_id, gtid_seq_no, check_constraint_checks, sql_if_exists, system_versioning_insert_history, and insert_id.
  • Add separate MariaDB-specific system variables array and a new getter that pulls from both system variable arrays.

@elianddb elianddb force-pushed the elian/9887 branch 3 times, most recently from e486d9b to 44ff54d Compare October 27, 2025 21:10
@elianddb elianddb changed the title dolthub/dolt#9887: Add BINLOG Support dolthub/dolt#9887: Add BINLOG and mariadb-binlog support Oct 27, 2025
@elianddb elianddb force-pushed the elian/9887 branch 9 times, most recently from ab21b07 to ff64ab8 Compare October 29, 2025 01:37
@elianddb elianddb requested a review from fulghum October 29, 2025 17:05
@elianddb elianddb force-pushed the elian/9887 branch 4 times, most recently from 5f5a690 to 7d07eac Compare November 3, 2025 17:52
Copy link
Contributor

@fulghum fulghum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Just a few minor comments.

@elianddb elianddb force-pushed the elian/9887 branch 6 times, most recently from 83ff130 to be8d29a Compare November 5, 2025 19:43
@elianddb elianddb merged commit 4f87463 into main Nov 5, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support MariaDB mariadb-binlog which translates a MariaDB binlog to SQL queries

3 participants