We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version:
Describe the bug
bug file is https://github.com/brokercap/Bifrost/blob/master/Bristol/mysql/binlog_query.go
https://github.com/brokercap/Bifrost/blob/master/Bristol/mysql/binlog_query.go
// UPDATE Table // INSERT INTO Table // DELETE FROM Table // REPLACE INTO Table var tableNameIndex = 0 if len(sqlUpper) < 6 { return } switch sqlUpper[0:6] { case "UPDATE": tableNameIndex = 1 isDDL = false break case "INSERT","DELETE","REPLAC": tableNameIndex = 2 isDDL = false break default: return }
To Reproduce
insert ignore into table_xxx values(...)
parse result: table is into . -- it is error, and not expected!
into
insert table_xxx values(...)
parse result: table is values. -- it is error, and not expected!
values
Screenshots
Additional context
binlog_format=STATEMENT
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version:
Describe the bug
bug file is
https://github.com/brokercap/Bifrost/blob/master/Bristol/mysql/binlog_query.go
To Reproduce
parse result: table is
into
. -- it is error, and not expected!parse result: table is
values
. -- it is error, and not expected!Screenshots
Additional context
binlog_format=STATEMENT
The text was updated successfully, but these errors were encountered: