From 2e722af93c6afe9d251a3417509ea7aaf8447894 Mon Sep 17 00:00:00 2001 From: pedrocarlo Date: Mon, 13 Oct 2025 15:18:38 -0300 Subject: [PATCH] proof issue 1710 --- testing/insert.test | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/testing/insert.test b/testing/insert.test index 4419bcafb..7321d1ec2 100755 --- a/testing/insert.test +++ b/testing/insert.test @@ -529,6 +529,13 @@ do_execsql_test_on_specific_db {:memory:} null-value-insert-null-type-column { SELECT * FROM test; } {1|} +# https://github.com/tursodatabase/turso/issues/1710 +do_execsql_test_in_memory_error_content uniq_constraint { + CREATE TABLE test (id INTEGER unique); + insert into test values (1); + insert into test values (1); +} {UNIQUE constraint failed: test.id (19)} + do_execsql_test_in_memory_error_content insert-explicit-rowid-conflict { create table t (x); insert into t(rowid, x) values (1, 1);