Files
turso/core/translate
Pekka Enberg 471d26a632 Merge 'Fix index update when INTEGER PRIMARY KEY (rowid alias)' from Adrian-Ryan Acala
When an `UPDATE` statement modifies a table's `INTEGER PRIMARY KEY`
(which acts as a `rowid` alias) alongside other indexed columns, the
index entries were incorrectly retaining the old `rowid`. This led to
stale index references, causing subsequent queries to return incorrect
results.
This change ensures that when the `rowid` alias is part of the `SET`
clause in an `UPDATE` statement, the new `rowid` value is used for
generating and updating index records. This guarantees that all index
entries correctly point to the updated row, resolving the data
inconsistency.
Fixes #1897

Closes #1916
2025-07-03 13:10:53 +03:00
..
2025-05-19 15:22:15 -03:00
2025-06-30 14:37:51 -03:00
2025-06-11 18:38:56 +02:00
2025-06-23 19:52:13 +01:00
2025-06-30 17:30:01 +03:00
2025-06-23 19:52:13 +01:00
2025-06-23 19:52:13 +01:00