mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-22 15:04:04 +00:00
Fix "unused stmt" warning in tests, with default features
This commit is contained in:
parent
3e880b599a
commit
9371652446
1 changed files with 1 additions and 3 deletions
|
@ -474,14 +474,12 @@ fn parse_execute() {
|
|||
);
|
||||
|
||||
let stmt = pg_and_generic().verified_stmt("EXECUTE a(1, 't')");
|
||||
|
||||
#[cfg(feature = "bigdecimal")]
|
||||
assert_eq!(
|
||||
stmt,
|
||||
Statement::Execute {
|
||||
name: "a".into(),
|
||||
parameters: vec![
|
||||
Expr::Value(Value::Number(bigdecimal::BigDecimal::from(1))),
|
||||
Expr::Value(number("1")),
|
||||
Expr::Value(Value::SingleQuotedString("t".to_string()))
|
||||
],
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue