aboutsummaryrefslogtreecommitdiff
path: root/test/fkey6.test
AgeCommit message (Collapse)AuthorLines
2025-02-17Fix problems in test script fkey6.test.dan-24/+29
FossilOrigin-Name: 088e476519c2c759ba9387cb18eaad7c042cc37e45e96237d3125ba33ee3633a
2025-02-13Ensure the counts of "deferred FK violations" and "deferred immediate FK ↵dan-0/+30
violations" are kept separate when "PRAGMA defer_foreign_keys" is used. FossilOrigin-Name: c5190b0fd9bd76653fb7bb08e931699e42c88cef8a00352360d091948cda93a2
2025-01-20Fix an assert() that could fail if a virtual table called sqlite3_step() ↵dan-0/+15
from within the xSync() method while committing a "PRAGMA defer_foreign_keys=1" transaction. FossilOrigin-Name: 39bdbb3f6dd1d30d180526d35c11f789f5e9d45b99ead72fd4a3b136afab66b1
2025-01-04Fix a problem in the sessions extension allowing changesets containing ↵dan-0/+27
foreign key violations to be committed under some circumstances. FossilOrigin-Name: e09a0c022903d88d5d6de34b2527565ef60c6bb049f2fb42f037e1520abf0f93
2016-01-21Disable the RESTRICT foreign key action if "PRAGMA defer_foreign_keys" is set.dan-0/+54
FossilOrigin-Name: 82470d1c3a41221c78bcdd402b2219c4c21c43af
2013-11-11Merge in the WITHOUT ROWID changes. A few tests are failing now. They willdrh-3/+2
be fixed in a follow-on check-in. FossilOrigin-Name: 5addd1234ded59ce60fb633b76ac87d483377edd
2013-11-05Standardize the error messages generated by constraint failures to a formatdrh-3/+2
of "$TYPE constraint failed: $DETAIL". This involves many changes to the expected output of test cases. FossilOrigin-Name: 54b221929744b1bcdbcc2030fef2e510618afd41
2013-10-15Merge the latest trunk changes into the sessions branch. This mergedrh-6/+79
should fix the build for WinRT. FossilOrigin-Name: e111e4edf9d7b2d4d6d6673a7576801839e9537d
2013-10-12Fix handling of "DROP TABLE" commands when "PRAGMA defer_foreign_keys=1" is set.dan-0/+51
FossilOrigin-Name: 27001356ed8201529b3f31d4313f2010f1b4e1b1
2013-10-12Add tests that demonstrate that PRAGMA defer_foreign_keys will reset to offdrh-6/+17
at the conclusion of the next transaction. FossilOrigin-Name: 67e28a11de97e97889f0c0f41c05605721c605c1
2013-10-11Add requirements marks. No code changes.drh-0/+11
FossilOrigin-Name: 5e0d43ab55de006b20c58cb18b938d1c7b658e51
2013-07-11Add the experimental "query_only" pragma.drh-1/+1
FossilOrigin-Name: 6557c407983b067449deb76bc4c5248de64e07dc
2013-07-11Add the "defer_foreign_keys" pragma and the SQLITE_DBSTATUS_DEFERRED_FKSdrh-0/+103
value for sqlite3_db_status(). This is a cherry-pick of a sequence of five checkins in the sessions branch between [1d44e5d3c2] and [d39e65fe70]. FossilOrigin-Name: 527121ac3cdc96ac33ad975c227a6685a2f7e999
2013-07-11Remove the undocumented sqlite3_foreign_key_check() API and replace it withdrh-0/+103
sqlite3_db_status(db, SQLITE_DBSTATUS_DEFERRED_FKS, ...). Add test cases for the new functionality. FossilOrigin-Name: d39e65fe702a2e11477f2d996f77404f45763368