I have a program which can read MySQL binlog. Recently I use the program to parse a binlog generated by MariaDb 10.3. I found that there are Q_FLAGS in the QUERY_EVENT which was not specified in the MySQL binlog specification. The Q_FLAG number is 52. I cannot found any document describing this Q_FLAG. Will any one know what it is? Or point me to a document to find out what is this Q_FLAG for?
1
There are 1 best solutions below
Related Questions in MYSQL
- How to Retrieve Data from an MySQL Database and Display it in a GUI?
- How to change woocomerce or full wordpress currency with value from USD to AUD
- window.location.href redirects but is causing problems on the webpage
- Error: local variable 'bramka' referenced before assignment
- Products aren't displayed after fetching data from mysql db (node.js & express)
- status table for all entries (even in different dates) in database changing value when all checkboxes are checked
- Can't Fix Mariadb & Mysql ERROR 2002 (HY000): Can't connect to local server through socket '/tmp/mysql.sock' (2) On MacOs
- Express Mysql getting max ID from table not working cought in a promise
- failed to upload a table from sql file
- Update a MySQL row depending on the ID in Google Sheets Apps Script
- Use row values from another table to select them as columns and establish relations between them (pivot table)
- SQL: Generate combination table based on source and destination column from same table
- How to display the column names which have only unique non-null values in MySQL table?
- mysql query takes too long because of wrong indexes usage
- Multitable joining in Sql
Related Questions in MARIADB
- `ColumnNotFound("id")` when inserting with SQLx
- What's supposed to be the problem in this query?
- Can't Fix Mariadb & Mysql ERROR 2002 (HY000): Can't connect to local server through socket '/tmp/mysql.sock' (2) On MacOs
- my spring boot app shuts down as soon as i open it
- EntityFrameworkCore.DbUpdateException: Unable to delete row, SQL Syntax error
- MariaDB incorrect dates
- 'pip install mariadb' states that it cannot find include file 'mysql.h' on my Windows 10 dekstop
- optimizing my.cnf for specific use case with MariaDB
- MariaDB service crashes since updating to Laravel 11 oom-kill possible memory leak in Laravel 11?
- mysql with odbc to ms access - runtime error 3146 (odbc call failed)
- Can I extend a shared docker-compose service twice (multiple times)?
- Appropriate way to convert unsanitized varchar from Base64 to Hex within MariaDB / MySQL
- Upgrading MariaDB 10.11 to 11.3
- Add dynamic categories to pie chart in Apache Superset?
- How do I start mariadb without the option --skip-grant-tables?
Related Questions in BINLOG
- Can't compare binlog filenames with different base names
- Importing binlog as an sql file into mysql database
- MySQL Binlog increases beyond normal specified
- Caused by: com.github.shyiko.mysql.binlog.event.deserialization.MissingTableMapEventException: No TableMapEventData has been found for table id:137
- How to notify row changes of rds mysql version 5.6.4?
- cannot enable bin-logs for mysql
- When are mysql save a new binlog file?
- Does Kafka support CDC from a source of MariaDB by binlog?
- expire_log_days parameter value not updated?
- Debezium MySQL Connector - Primary Server Configuration for binlog_row_image setting
- Mariadb binlog query event q_flag
- What does generated by server on drop tables mean
- Can MySql binlog have more than one open transaction?
- MySql Binlog Update Statement Where Clause Has All Table Columns, Even If Client Uses Just Primary Key In Where Clause When Running Query
- Whether table names and db names are case sensitive in mysql binlog file
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I found the error. The problem was according to the binlog specification, the Q_TIME_ZONE_CODE should be a 1 length byte + number byte of character of time zone code. Then I found there are four more bytes after the name, not idea what they are. There seems to have the following possible bugs.
The four bytes after the time zone name not specified in the spec, or
The qflag length was 4 bytes longer when there is a Q_TIME_ZONE_CODE.
No idea if this only happen to MariaDB.
Also note that using MariaDB mysqlbinlog can dump the binlog. But the mysqlbinlog in MySQL 5.6 cannot dump the log; created by MariaDB 10.3