MySQL dialect: Add support for hash comments (#1466)

This commit is contained in:
Hans Ott 2024-10-11 17:15:18 +02:00 committed by GitHub
parent a4fa9e08b7
commit 749b061fbf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 3 deletions

View file

@ -9923,7 +9923,11 @@ fn test_release_savepoint() {
#[test]
fn test_comment_hash_syntax() {
let dialects = TestedDialects {
dialects: vec![Box::new(BigQueryDialect {}), Box::new(SnowflakeDialect {})],
dialects: vec![
Box::new(BigQueryDialect {}),
Box::new(SnowflakeDialect {}),
Box::new(MySqlDialect {}),
],
options: None,
};
let sql = r#"