mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 18:18:03 +00:00
Convert u64 rowid to i64
Rowids can be negative, therefore let's swap to i64
This commit is contained in:
parent
0fbff54b90
commit
da4190a23e
10 changed files with 75 additions and 64 deletions
|
@ -306,3 +306,11 @@ do_execsql_test_on_specific_db {:memory:} insert_from_select_union {
|
|||
SELECT * FROM t;
|
||||
} {1|100
|
||||
2|200}
|
||||
|
||||
do_execsql_test_on_specific_db {:memory:} negative-primary-integer-key {
|
||||
CREATE TABLE t(a INTEGER PRIMARY KEY);
|
||||
insert into t values (-2),(13);
|
||||
select * from t order by a asc;
|
||||
} {-2
|
||||
13}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue