SQLite

Check-in [3e15dea55c]
Login

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

Overview
Comment:This condition was not always true after all.....

Change an always-true condition in the virtual table transaction interface into an assert().

Downloads: Tarball | ZIP archive
Timelines: family | ancestors | mistake
Files: files | file ages | folders
SHA1: 3e15dea55c31c92b305fdba23e3f6e8f97bd369d
User & Date: drh 2015-09-29 17:51:30.184
Original Comment: Change an always-true condition in the virtual table transaction interface into an assert().
Context
2015-09-29
17:51
This condition was not always true after all.....

Change an always-true condition in the virtual table transaction interface into an assert(). (Closed-Leaf check-in: 3e15dea55c user: drh tags: mistake)

17:20
Use symbolic names XN_ROWID and XN_EXPR in place of the (-1) and (-2) magic numbers in Index.aiColumn[]. Add asserts to help verify that Index.aiColumn[] is always used correctly. Fix one place in FK processing where Index.aiColumn[] was not being used correctly. (check-in: 7d272aa62c user: drh tags: trunk)
Changes
Unified Diff Side-by-Side Diff Patch
Changes to src/vtab.c.