mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-24 14:05:58 +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?
|
||||
_db = 0;
|
||||
}
|
||||
|
||||
sqlite3_busy_timeout(_db, 5000);
|
||||
|
||||
return isOpen();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue