mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-28 11:48:56 +03:00
ownSql: Still also use sqlite3 busy handler
This commit is contained in:
parent
2de22b408b
commit
f0dc3725e8
1 changed files with 3 additions and 0 deletions
|
@ -53,6 +53,9 @@ bool SqlDatabase::open( const QString& filename )
|
||||||
close(); // FIXME: Correct?
|
close(); // FIXME: Correct?
|
||||||
_db = 0;
|
_db = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sqlite3_busy_timeout(_db, 5000);
|
||||||
|
|
||||||
return isOpen();
|
return isOpen();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue