You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6362141
Browse filesBrowse the repository at this point in the historyBrowse files
CHANGE REPLICATION SOURCE TO, CHANGE REPLICATION FILTER, START REPLICA,
STOP REPLICA, RESET REPLICA, RESET BINARY LOGS AND GTIDS and PURGE BINARY
LOGS failed to parse, so a replica setup script failed at its first
statement.
The new statements of net.sf.jsqlparser.statement.replication follow the
MySQL 8.4 grammar. ReplicationSourceOption extends ReplicationOption, and
each option kind says which value it takes: a string, a number, NULL,
0 or 1, a keyword, the server ID list or an account. ReplicationFilter
keeps database names, tables, patterns or rewrite pairs, and the
statements share one FOR CHANNEL production. RESET reads MySQL's comma
list into ResetReplicationStatement, apart from ResetStatement.
PurgeStatement gains BINARY LOGS TO and BEFORE, which MariaDB also reads,
with its MASTER LOGS; as in MySQL, BEFORE takes no subquery. Without a
dialect a bare RESET REPLICA stays a ResetStatement, and other dialects
keep their readings. STOP becomes a non-reserved keyword and remains
usable as a name, also in Oracle's PURGE TABLESPACE.
Signed-off-by: minleejae <mmj9808@gmail.com>
0 commit comments