mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-04 06:18:17 +00:00
MySQL dialect: Add support for hash comments (#1466)
This commit is contained in:
parent
a4fa9e08b7
commit
749b061fbf
2 changed files with 8 additions and 3 deletions
|
@ -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#"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue