stoneatom / stonedb

StoneDB is an Open-Source MySQL HTAP and MySQL-Native DataBase for OLTP, Real-Time Analytics, a counterpart of MySQLHeatWave. (https://stonedb.io)
https://stonedb.io/
GNU General Public License v2.0
866 stars 141 forks source link

fix(sql,tianmu):fix when binlog format is row, the load data statement cannot be recorded(#1876) #1906

Closed chenshengjiang closed 1 year ago

chenshengjiang commented 1 year ago

Summary about this PR

  1. Actually, tianmu uses its own code to handle load which lacks support of row format of binlog
  2. When tianmu parsing rows, write table map event first
  3. Once tianmu constructs a row, just add it to the rows log event, when parsing is done, the rows log event will also be ready, then write it to the binlog

Issue Number: close #1876

Tests Check List

Changelog

Documentation

mergify[bot] commented 1 year ago

Thanks for the contribution! I have applied any labels matching special text in your PR Changelog.

Please review the labels and make any necessary changes.