aboutsummaryrefslogtreecommitdiff
path: root/libcommon/common
diff options
context:
space:
mode:
Diffstat (limited to 'libcommon/common')
-rw-r--r--libcommon/common/common.cxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/libcommon/common/common.cxx b/libcommon/common/common.cxx
index a786fb5..6990924 100644
--- a/libcommon/common/common.cxx
+++ b/libcommon/common/common.cxx
@@ -111,7 +111,14 @@ create_database (int& argc,
db.reset (
new sqlite::database (
- argc, argv, false, SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE, true,
+ argc, argv, false,
+ SQLITE_OPEN_READWRITE
+ | SQLITE_OPEN_CREATE
+#ifdef SQLITE_OPEN_URI
+ | SQLITE_OPEN_URI
+#endif
+ ,
+ true,
#ifdef HAVE_CXX11
move (f)
#else