mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-02 06:44:23 +01:00
add test
This commit is contained in:
@@ -32,3 +32,13 @@ do_execsql_test_on_specific_db {:memory:} changes-doesnt-track-indexes {
|
||||
UPDATE users SET name = 'young' where age < 40;
|
||||
select changes();
|
||||
} {6}
|
||||
|
||||
# https://github.com/tursodatabase/turso/issues/3688
|
||||
do_execsql_test_on_specific_db {:memory:} changes-1.69 {
|
||||
create table t(id integer primary key, value text);
|
||||
insert into t values (1, 'a');
|
||||
select changes();
|
||||
update t set id = id+10 where id = 1;
|
||||
select changes();
|
||||
} {1
|
||||
1}
|
||||
Reference in New Issue
Block a user