diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-09-19 09:50:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-09-19 09:50:53 +0200 |
commit | fd2e006c32a407e4f097250b1e5e7f04098bae7b (patch) | |
tree | a66fd91f636104b621998b3df5be4575009ff743 /odb/sqlite/connection.cxx | |
parent | a77615868e8935e84ebbb4c441858917e971942c (diff) |
Make sure we support older versions of SQLite (3.5.3 and up)
Diffstat (limited to 'odb/sqlite/connection.cxx')
-rw-r--r-- | odb/sqlite/connection.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/odb/sqlite/connection.cxx b/odb/sqlite/connection.cxx index 22955b4..a477e28 100644 --- a/odb/sqlite/connection.cxx +++ b/odb/sqlite/connection.cxx @@ -45,8 +45,10 @@ namespace odb // A connection can only be used by a single thread at a time. So // disable locking in SQLite unless explicitly requested. // +#if defined(SQLITE_OPEN_NOMUTEX) if ((f & SQLITE_OPEN_FULLMUTEX) == 0) f |= SQLITE_OPEN_NOMUTEX; +#endif const string& vfs (db.vfs ()); |