From ae569fbd7dc2df013669f3f6d6521da0810ed225 Mon Sep 17 00:00:00 2001 From: pedrocarlo Date: Sun, 29 Jun 2025 17:13:53 -0300 Subject: [PATCH] add test --- testing/update.test | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/testing/update.test b/testing/update.test index c07cf5aa9..cb0a273dc 100755 --- a/testing/update.test +++ b/testing/update.test @@ -253,3 +253,10 @@ do_execsql_test_in_memory_any_error update_primary_key_unique_constraint_error { INSERT INTO t(b) VALUES (100), (200), (300); UPDATE t SET b = 2; } + +do_execsql_test_on_specific_db {:memory:} update-single-rowid { + CREATE TABLE t(x INTEGER PRIMARY KEY); + INSERT INTO t VALUES (1); + UPDATE t SET x = 2 WHERE x = 1; + SELECT * FROM t; +} {2} \ No newline at end of file