mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-10-10 05:52:13 +00:00
fix for maybe_parse preventing parser from erroring on recursion limit (#1464)
This commit is contained in:
parent
38f1e573fe
commit
8e0d26abb3
19 changed files with 422 additions and 570 deletions
|
@ -486,9 +486,9 @@ pub trait Dialect: Debug + Any {
|
|||
fn parse_column_option(
|
||||
&self,
|
||||
_parser: &mut Parser,
|
||||
) -> Option<Result<Option<ColumnOption>, ParserError>> {
|
||||
) -> Result<Option<Result<Option<ColumnOption>, ParserError>>, ParserError> {
|
||||
// return None to fall back to the default behavior
|
||||
None
|
||||
Ok(None)
|
||||
}
|
||||
|
||||
/// Decide the lexical Precedence of operators.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue