-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge 'Refactor cursor to support multiple state machines' from Alex …
…Miller This is mostly refactoring Cursor.write_info to instead be an enum, where one of the options is a WriteInfo. This permits one to add other state machines to Cursor, and I added the state needed for Count as an example, but all the testing for count's implementation depends on ANALYZE #656 working end-to-end (to some degree) so that one can write a SQL test for it. But this code seems conflict-prone, so it seems better to get it in sooner than later. I also finally understood what the point of RefCell is from fighting with rust on this, so that was nice. Closes #836
- Loading branch information
Showing
1 changed file
with
104 additions
and
47 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