-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge 'Fix table with single column PRIMARY KEY to not create extra b…
…tree' from Krishna Vishal The error is due to comparing the PRIMARY KEY's name to INTEGER when in it was all in lowercase. This was causing `needs_auto_index` to be set to `true`. After the fix: ``` /limbo /tmp/sc2-limbo.db Limbo v0.0.13 Enter ".help" for usage hints. limbo> CREATE TABLE temp (t1 integer, primary key (t1)); hexdump -s 28 -n 4 /tmp/sc2-limbo.db 000001c 0000 0200 -- matches SQLite 0000020 ``` Closes #824 Reviewed-by: Jussi Saurio <[email protected]> Closes #830
- Loading branch information
Showing
1 changed file
with
33 additions
and
11 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