From f1f4129311ef43d2320fa44571f749a8e9c5b9eb Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 27 Jul 2012 10:19:39 +0200 Subject: Enable URI paths for SQLite database --- libcommon/common/common.cxx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'libcommon/common') 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 -- cgit v1.1