From 44e282f6308f1bbce1f79e5bc2f389e1981bfd3b Mon Sep 17 00:00:00 2001 From: Jussi Saurio Date: Tue, 13 May 2025 09:03:01 +0300 Subject: [PATCH] Add multi-row insert regression test --- testing/insert.test | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/testing/insert.test b/testing/insert.test index 03b967294..3ace39a8c 100755 --- a/testing/insert.test +++ b/testing/insert.test @@ -173,3 +173,10 @@ do_execsql_test_on_specific_db {:memory:} named-insert-2 { INSERT INTO test (col_b, col_d, col_c) VALUES ('1', '2', '4'); SELECT * FROM test; } {1|Empty|1|4|2} + +do_execsql_test_on_specific_db {:memory:} multi-rows { + CREATE TABLE test (id INTEGER PRIMARY KEY AUTOINCREMENT, col); + INSERT INTO test (col) VALUES (1),(1); + SELECT * FROM test; +} {1|1 +2|1}