summaryrefslogtreecommitdiff
path: root/odb/option-functions.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/option-functions.cxx')
-rw-r--r--odb/option-functions.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/option-functions.cxx b/odb/option-functions.cxx
index 016b729..61db175 100644
--- a/odb/option-functions.cxx
+++ b/odb/option-functions.cxx
@@ -53,6 +53,11 @@ process_options (options& o)
if (o.schema_name ().count (db) == 0)
o.schema_name ()[db] = "";
+ // Set default --fkeys-deferrable-mode value.
+ //
+ if (o.fkeys_deferrable_mode ().count (db) == 0)
+ o.fkeys_deferrable_mode ()[db] = deferrable::deferred;
+
// Set default --{export,extern}-symbol values.
//
if (o.export_symbol ().count (db) == 0)