1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-09-11 08:30:57 +03:00

Make sure the ON CONFLICT clause on a BEGIN overrides the conflict resolution

specified by an index.  This fixes a bug reported on the newsgroup. (CVS 975)

FossilOrigin-Name: 0f92736d1fbe3b587592fe1f26dfb3558cc49727
This commit is contained in:
drh
2003-05-16 02:30:27 +00:00
parent 931634915d
commit a996e477d0
6 changed files with 68 additions and 33 deletions

View File

@@ -11,7 +11,7 @@
# This file implements regression tests for SQLite library. The
# focus of this script testing the callback-free C/C++ API.
#
# $Id: capi2.test,v 1.6 2003/03/01 19:53:16 drh Exp $
# $Id: capi2.test,v 1.7 2003/05/16 02:30:27 drh Exp $
#
set testdir [file dirname $argv0]
@@ -393,7 +393,7 @@ do_test capi2-6.28 {
do_test capi2-6.99 {
list [catch {sqlite_finalize $VM1} msg] [set msg]
} {0 {}}
execsql {ROLLBACK}
catchsql {ROLLBACK}
do_test capi2-7.1 {
stepsql $DB {