mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-08 01:15:00 +00:00
Add configurable recursion limit to parser, to protect against stack overflows (#764)
This commit is contained in:
parent
2c20ec0be5
commit
79d0baad73
4 changed files with 302 additions and 31 deletions
|
@ -12,11 +12,15 @@
|
|||
|
||||
//! SQL Parser for Rust
|
||||
//!
|
||||
//! Example code:
|
||||
//!
|
||||
//! This crate provides an ANSI:SQL 2011 lexer and parser that can parse SQL
|
||||
//! into an Abstract Syntax Tree (AST).
|
||||
//!
|
||||
//! See [`Parser::parse_sql`](crate::parser::Parser::parse_sql) and
|
||||
//! [`Parser::new`](crate::parser::Parser::new) for the Parsing API
|
||||
//! and the [`ast`](crate::ast) crate for the AST structure.
|
||||
//!
|
||||
//! Example:
|
||||
//!
|
||||
//! ```
|
||||
//! use sqlparser::dialect::GenericDialect;
|
||||
//! use sqlparser::parser::Parser;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue