aboutsummaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-08-22 10:47:30 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-08-22 10:47:30 +0200
commit3e57c662b42831555498607d607c349f30c5b7de (patch)
tree932a91ef684789c783485c9e5e5c829a87607763 /NEWS
parenta94dde17a2e6a41c36dd052bc8d2bbbc224aeb97 (diff)
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".
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS9
1 files changed, 9 insertions, 0 deletions
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