Skip to content

Commit

Permalink
chore: ignore MySQL client sent SELECT $$ (#2896)
Browse files Browse the repository at this point in the history
Signed-off-by: tison <[email protected]>
  • Loading branch information
tisonkun authored Dec 11, 2023
1 parent 5a99f09 commit 73227bb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/servers/src/mysql/federated.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(.*))",
Expand Down

0 comments on commit 73227bb

Please sign in to comment.