mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-31 19:27:21 +00:00
Support mysql RLIKE
and REGEXP
binary operators (#1017)
This commit is contained in:
parent
88510f6625
commit
c03586b727
5 changed files with 53 additions and 3 deletions
|
@ -111,7 +111,7 @@ impl TestedDialects {
|
|||
/// 2. re-serializing the result of parsing `sql` produces the same
|
||||
/// `canonical` sql string
|
||||
pub fn one_statement_parses_to(&self, sql: &str, canonical: &str) -> Statement {
|
||||
let mut statements = self.parse_sql_statements(sql).unwrap();
|
||||
let mut statements = self.parse_sql_statements(sql).expect(sql);
|
||||
assert_eq!(statements.len(), 1);
|
||||
|
||||
if !canonical.is_empty() && sql != canonical {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue