Skip to content

Commit 393f5ae

Browse files
trying to fix clippy warning
1 parent e02fc5c commit 393f5ae

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/parser/mod.rs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16575,23 +16575,6 @@ mod tests {
1657516575
}
1657616576
}
1657716577

16578-
#[test]
16579-
fn test_mysql_srid_create_table() {
16580-
let sql = r#"CREATE TABLE t (a geometry SRID 4326)"#;
16581-
let ast: Vec<Statement> = Parser::parse_sql(&MySqlDialect {}, sql).unwrap();
16582-
16583-
assert_eq!(ast.len(), 1);
16584-
if let Statement::CreateTable(v) = &ast[0] {
16585-
assert_eq!(
16586-
v.columns[0].options[0].option,
16587-
ColumnOption::Srid(Box::new(Expr::value(Value::Number(
16588-
"4326".parse().unwrap(),
16589-
false
16590-
))))
16591-
);
16592-
}
16593-
}
16594-
1659516578
#[test]
1659616579
fn test_replace_into_placeholders() {
1659716580
let sql = "REPLACE INTO t (a) VALUES (&a)";

0 commit comments

Comments
 (0)