mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-27 21:14:21 +01:00
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 https://github.com/tursodatabase/limbo/issues/824 Reviewed-by: Jussi Saurio <jussi.saurio@gmail.com> Closes #830