mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-04 06:18:17 +00:00
Add support for MS-SQL BEGIN/END TRY/CATCH (#1649)
This commit is contained in:
parent
397bceb241
commit
687ce2d5f4
9 changed files with 112 additions and 25 deletions
|
@ -115,7 +115,11 @@ fn custom_statement_parser() -> Result<(), ParserError> {
|
|||
for _ in 0..3 {
|
||||
let _ = parser.next_token();
|
||||
}
|
||||
Some(Ok(Statement::Commit { chain: false }))
|
||||
Some(Ok(Statement::Commit {
|
||||
chain: false,
|
||||
end: false,
|
||||
modifier: None,
|
||||
}))
|
||||
} else {
|
||||
None
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue