mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-08 01:15:00 +00:00
Add support for release and rollback to savepoint syntax (#1045)
This commit is contained in:
parent
c905ee0cb8
commit
5bdf2e6608
4 changed files with 100 additions and 19 deletions
|
@ -2093,16 +2093,6 @@ fn test_transaction_statement() {
|
|||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_savepoint() {
|
||||
match pg().verified_stmt("SAVEPOINT test1") {
|
||||
Statement::Savepoint { name } => {
|
||||
assert_eq!(Ident::new("test1"), name);
|
||||
}
|
||||
_ => unreachable!(),
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_json() {
|
||||
let sql = "SELECT params ->> 'name' FROM events";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue