diff options
author | Tobias Koenig <tobias.koenig.qnx@kdab.com> | 2013-11-30 14:40:11 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-12-01 14:46:56 +0100 |
commit | 4f28464ab7dfe9f18cd72fc022257e66a8e2b279 (patch) | |
tree | 2175779d56c4890fd7a846381ccd422410caf3cc /src/sql/drivers/oci/qsql_oci.cpp | |
parent | 1b07e4e31537f4814523f2788cb99c131651e06f (diff) |
Fix evaluation of SQLite driver options
Ensure that the options, which are passed to the SQLite driver, are
evaluated in the correct order and do not overwrite each other.
According to http://www.sqlite.org/c3ref/open.html the
SQLITE_OPEN_READONLY and (SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE) are
mutual exclusive, but SQLITE_OPEN_URI can be combined with both of them.
Task-number: QTBUG-35186
[ChangeLog][QtSql][QSQLITE] Fixed evaluation of driver options
Change-Id: I8e74fe1ce43b9118b15f7b13fc71670bdcd73f68
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Reviewed-by: Mark Brand <mabrand@mabrand.nl>
Diffstat (limited to 'src/sql/drivers/oci/qsql_oci.cpp')
0 files changed, 0 insertions, 0 deletions