mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-22 09:24:26 +01:00
Before, we just skipped evaluating `Id`, `Qualified` and `DoublyQualified` if `referenced_tables` was `None`, leading to shit like #3621. Let's eagerly return `"No such column"` parse errors in these cases instead, and punch exceptions for cases where that doesn't cleanly work Top tip: use `Hide whitespace` toggle when inspecting the diff of this PR Closes #3621 Reviewed-by: Preston Thorpe <preston@turso.tech> Closes #3626
Turso Testing
Testing Extensions
When adding tests for extensions, please follow these guidelines:
- Tests that verify the internal logic or behavior of a particular extension should go into
cli_tests/extensions.py. - Tests that verify how extensions interact with the database engine, such as virtual table handling, should be written
in TCL (see
vtab.testas an example).
To check which extensions are available in TCL, or to add a new one, refer to the tester.tcl file and look at the extension_map.