-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This turned out to be surprisingly tricky. The key insight is that LOAD and STORE aren't really symmetrical, at least not in this version of the code. Instead, %STORE(expr) gets manually inserted as a phantom operator, but %LOAD(var_ref) only occurs as part of a variable reference. This means that transforms, `sql_quote!` and all our other rewriting machinery don't even notice that LOADs exist. This is a weird decision, and it might not be optimal in the long run, but it works. This brings us down to `7 tests failed, 64 passed, 3 pending`, and all the failing test cases are places we need to expand SELECT wildcards like `*`, `table.*`, etc., into column lists with explicit STORE operations.
- Loading branch information
Showing
4 changed files
with
214 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.