Files
turso/core/translate
Nikita Sivukhin a32ed53bd8 remove optimization
- even if index search will return only 1 row - it will call next in the loop - and we incorrecty can process same row values multiple times
- the following query failed with this optimization:

turso> CREATE TABLE t (id INTEGER PRIMARY KEY AUTOINCREMENT, k TEXT, c0 INT);
turso> CREATE UNIQUE INDEX idx_p1_0 ON t(c0);
turso> insert into t values (null, 'uu', -1);
turso> insert into t values (null, 'uu', -2);
turso> UPDATE t SET c0 = NULL WHERE c0 = -1;
turso> SELECT * FROM t
┌────┬────┬────┐
│ id │ k  │ c0 │
├────┼────┼────┤
│  1 │ uu │    │
├────┼────┼────┤
│  2 │ uu │    │
└────┴────┴────┘
2025-09-30 16:37:41 +04:00
..
2025-09-30 16:37:41 +04:00
2025-09-25 17:14:54 -04:00
2025-09-26 12:17:34 -04:00
2025-09-29 16:30:07 +04:00
2025-09-26 13:01:49 +04:00
2025-06-11 18:38:56 +02:00
2025-09-30 16:37:41 +04:00
2025-09-13 11:12:44 +02:00