SQLite

Check-in [939d828274]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add extended error codes for all SQLITE_CONSTRAINT errors.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 939d8282748b00a7032cdd72e5d3bf3086ebfc97
User & Date: drh 2013-02-11 13:47:39.039
Context
2013-02-12
22:09
A bug report coming from from Firefox (https://bugzilla.mozilla.org/show_bug.cgi?id=840377) describes an infinite recursion. We are unable to reproduce the problem. Nevertheless, this check-in should prevent the problem from ever occurring again. (check-in: b7222a2bd0 user: drh tags: trunk)
09:46
Improve memory allocation error handling on WinCE. (Closed-Leaf check-in: 09dfc0c915 user: mistachkin tags: wince)
2013-02-11
13:47
Add extended error codes for all SQLITE_CONSTRAINT errors. (check-in: 939d828274 user: drh tags: trunk)
2013-02-09
15:37
Rename SQLITE_CONSTRAINT_RAISE to SQLITE_CONSTRAINT_TRIGGER. Put the extended constraint error codes in alphabetical order. Add many test cases for the extended constraint error codes. (Closed-Leaf check-in: 3f67437536 user: drh tags: constraint-error-codes)
2013-02-07
09:33
Fix harmless compiler warnings. (check-in: 4a7b4ee011 user: drh tags: trunk)
Changes
Unified Diff Side-by-Side Diff Patch
Changes to src/build.c.
Changes to src/expr.c.
Changes to src/fkey.c.
Changes to src/insert.c.
Changes to src/sqlite.h.in.
Changes to src/sqliteInt.h.
Changes to src/test1.c.
Changes to src/test_spellfix.c.
Changes to src/vdbe.c.
Changes to src/vdbeaux.c.
Changes to test/capi2.test.
Changes to test/conflict.test.
Changes to test/errmsg.test.
Changes to test/fkey2.test.
Changes to test/fkey4.test.
Changes to test/hook.test.
Changes to test/notnull.test.
Changes to test/tester.tcl.
Changes to test/trigger1.test.
Changes to test/trigger3.test.
Changes to test/unique.test.