DefaultDatabaseOpenPolicy.h
Go to the documentation of this file.
1 #ifndef cetlib_sqlite_detail_DefaultDatabaseOpenPolicy_h
2 #define cetlib_sqlite_detail_DefaultDatabaseOpenPolicy_h
3 
4 //=====================================================================
5 // The locking mechanisms for NFS systems are deficient and can thus
6 // wreak havoc with SQLite, which depends upon them. In order to
7 // support an SQLite database on NFS, we use a URI, explicitly
8 // including the query parameter: 'nolock=1'. The
9 // DefaultDatabaseOpenPolicy achieves this.
10 //=====================================================================
11 
12 #include <string>
13 
14 struct sqlite3;
15 
16 namespace cet::sqlite::detail {
18  public:
20  };
21 }
22 
23 #endif /* cetlib_sqlite_detail_DefaultDatabaseOpenPolicy_h */
24 
25 // Local variables:
26 // mode: c++
27 // End:
sqlite3 * open(std::string const &file_name)
std::string string
Definition: nybbler.cc:12
QCString file_name
struct sqlite3 sqlite3