diff options
author | Bill King <bill.king@nokia.com> | 2010-02-09 03:14:50 (GMT) |
---|---|---|
committer | Bill King <bill.king@nokia.com> | 2010-02-09 03:14:50 (GMT) |
commit | 72f3caa5d7821b93a4e807fb61c5cda9f2c6f393 (patch) | |
tree | 62d6612926f7bbcce8a1a28cbdb1a382339aa566 /src/sql/kernel/qsqldatabase.cpp | |
parent | ff222b3ece43664a4f599c8a6b0275d2aa72cc4d (diff) | |
download | Qt-72f3caa5d7821b93a4e807fb61c5cda9f2c6f393.zip Qt-72f3caa5d7821b93a4e807fb61c5cda9f2c6f393.tar.gz Qt-72f3caa5d7821b93a4e807fb61c5cda9f2c6f393.tar.bz2 |
(sqlite) Allow shared cache mode
This modification is needed to allow performance optimisations
necessary for QML.
Reviewed-by: Warwick Allison
Diffstat (limited to 'src/sql/kernel/qsqldatabase.cpp')
-rw-r--r-- | src/sql/kernel/qsqldatabase.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sql/kernel/qsqldatabase.cpp b/src/sql/kernel/qsqldatabase.cpp index 031261d..1416ee3 100644 --- a/src/sql/kernel/qsqldatabase.cpp +++ b/src/sql/kernel/qsqldatabase.cpp @@ -1267,6 +1267,7 @@ QSqlRecord QSqlDatabase::record(const QString& tablename) const \list \i QSQLITE_BUSY_TIMEOUT \i QSQLITE_OPEN_READONLY + \i QSQLITE_ENABLE_SHARED_CACHE \endlist \i |