SQL/SQLite: Silence warning "Unsupported option ''"
It shows for example when starting assistant.
Amends 3379fd2322.
Pick-to: 6.7
Change-Id: I85196c62ff9d9caaa46a5279c3b965dc28266ba8
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
bb10
parent
179c664c31
commit
af814d7d9d
|
|
@ -761,7 +761,7 @@ bool QSQLiteDriver::open(const QString & db, const QString &, const QString &, c
|
|||
int regexpCacheSize = 25;
|
||||
#endif
|
||||
|
||||
const auto opts = QStringView{conOpts}.split(u';');
|
||||
const auto opts = QStringView{conOpts}.split(u';', Qt::SkipEmptyParts);
|
||||
for (auto option : opts) {
|
||||
option = option.trimmed();
|
||||
if (option.startsWith("QSQLITE_BUSY_TIMEOUT"_L1)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue