chore: ignore MySQL client sent SELECT $$ (#2896)

Signed-off-by: tison <wander4096@gmail.com>
This commit is contained in:
tison
2023-12-11 10:27:22 +08:00
committed by GitHub
parent 5a99f098c5
commit 73227bbafd

View File

@@ -80,6 +80,9 @@ static OTHER_NOT_SUPPORTED_STMT: Lazy<RegexSet> = Lazy::new(|| {
"(?i)^(SHOW COLLATION)",
"(?i)^(SHOW CHARSET)",
// mysqlclient.
"(?i)^(SELECT \\$\\$)",
// mysqldump.
"(?i)^(SET SESSION(.*))",
"(?i)^(SET SQL_QUOTE_SHOW_CREATE(.*))",