ownSql: Still also use sqlite3 busy handler

This commit is contained in:
Markus Goetz 2014-10-20 17:26:25 +02:00
parent 2de22b408b
commit f0dc3725e8

View file

@ -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();
} }