From 3e57c662b42831555498607d607c349f30c5b7de Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 22 Aug 2011 10:47:30 +0200 Subject: Enable foreign key constraints checking in SQLite Due to bugs in SQLite DDL foreign key support, we have to temporarily disable foreign keys when re-creating the schema. New manual section: 12.5.3, "Foreign Key Constraints". --- NEWS | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 3f84ddb..0d5db63 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,14 @@ Version 1.6.0 + * SQLite ODB runtime now enabled foreign key constraints checking by + default. While this should not affect correct applications, due to + bugs in SQLite DDL foreign keys support, you may need to temporarily + disable foreign key constraints checking when re-creating the database + schema (the sign that you may need to do so is the "foreign key + constraint failed" exception thrown by the commit() function after the + call to schema_catalog::create_schema()). For more information, refer + to Section 12.5.3, "Foreign Key Constraints" in the ODB manual. + * Support for value wrappers. An ODB value wrapper is a class template that wraps a value type. Common examples of wrappers are smart pointers, holders, and "optional value" containers such as boost::optional. A -- cgit v1.1