Ensures that `sql` parses as a single [Statement], and that re-serializing the parse result produces the same `sql` string (is not modified after a serialization round-trip).
(sql: &str)
| 2024 | /// re-serializing the parse result produces the same `sql` |
| 2025 | /// string (is not modified after a serialization round-trip). |
| 2026 | fn verified_stmt(sql: &str) -> Statement { |
| 2027 | one_statement_parses_to(sql, sql) |
| 2028 | } |
| 2029 | |
| 2030 | #[test] |
| 2031 | /// Checks the recursion limit works for sql queries |
searching dependent graphs…