Files
turso/core
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-23 14:22:02 -04:00
2025-09-24 18:06:55 -03:00
2025-06-30 10:01:03 +03:00
2025-09-30 16:37:41 +04:00
2025-08-15 17:08:53 -04:00
2025-01-28 14:55:38 -05:00
2025-09-25 22:52:08 -03:00
2025-09-30 11:35:06 +02:00
2025-09-17 11:57:23 +03:00
2025-01-28 14:55:38 -05:00
2025-09-19 16:48:12 +04:00
2025-06-23 19:52:13 +01:00
2025-09-22 16:37:31 +03:00
2025-06-30 09:54:13 +03:00
2025-09-23 14:22:02 -04:00