summaryrefslogtreecommitdiffstats
path: root/src/sql/kernel/qsqldatabase.cpp
diff options
context:
space:
mode:
authorBill King <bill.king@nokia.com>2010-02-09 03:14:50 (GMT)
committerBill King <bill.king@nokia.com>2010-02-09 03:14:50 (GMT)
commit72f3caa5d7821b93a4e807fb61c5cda9f2c6f393 (patch)
tree62d6612926f7bbcce8a1a28cbdb1a382339aa566 /src/sql/kernel/qsqldatabase.cpp
parentff222b3ece43664a4f599c8a6b0275d2aa72cc4d (diff)
downloadQt-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.cpp1
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