Add QSQLITE_OPEN_URI database connection flag
authorTobias Koenig <tobias.koenig@kdab.com>
Mon, 28 Oct 2013 08:25:11 +0000 (09:25 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 4 Nov 2013 08:52:36 +0000 (09:52 +0100)
commit1f6dfa774959830a915f3e2a7b0561ca29b8c485
tree952b5fcdc0cf6984bebdd2aae4b06b844bf4564e
parent3b48a65e99839c9427923c03b4e2a87a8465d165
Add QSQLITE_OPEN_URI database connection flag

This flag enables the URI mode for database names in the SQLite
backend. Without this flag, it's not possible to use URIs like
    'file:somedb?mode=memory&cache=shared'
to create shared, in-memory databases.

Change-Id: I2938184dad1f27c7af454385ca305bd4f6ed1a5e
Reviewed-by: Mark Brand <mabrand@mabrand.nl>
dist/changes-5.2.0
src/sql/drivers/sqlite/qsql_sqlite.cpp
src/sql/kernel/qsqldatabase.cpp