From 7424a6b1eec48d24ed9bb2721d0eafd7ebec4ca2 Mon Sep 17 00:00:00 2001 From: Dan Kennedy Date: Mon, 8 Apr 2024 17:55:15 +0000 Subject: [PATCH] Update tests in returning1.test to account for [c7896e88]. --- test/returning1.test | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/returning1.test b/test/returning1.test index 24032496ce..02743b2bdc 100644 --- a/test/returning1.test +++ b/test/returning1.test @@ -227,21 +227,21 @@ ifcapable !allow_rowid_in_view { } else { # Note: The values returned by the RETURNING clauses of the following # two statements are the rowid columns of views. These values are not - # well defined, so the INSERT returns -1, and the UPDATE returns 1, 2 - # and 3. These match the values used for new.rowid expressions, but - # not much else. + # well defined, so the INSERT returns -1, and the UPDATE returns NULL. + # These match the values used for new.rowid expressions, but not much + # else. do_catchsql_test 10.3a { INSERT INTO t1(a, b) VALUES(1234, 5678) RETURNING rowid; } {0 -1} do_catchsql_test 10.3b { UPDATE t1 SET a='z' WHERE b='y' RETURNING rowid; - } {0 {1 2 3}} + } {0 {{} {} {}}} do_execsql_test 10.4 { SELECT * FROM log; } { - insert -1 1234 5678 update 1 z y update 2 z y update 3 z y + insert -1 1234 5678 update {} z y update {} z y update {} z y } } -- 2.11.4.GIT