Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
SyncJournalDb::SyncJournalDb(const QString &dbFilePath, QObject *parent)
: QObject(parent)
, _dbFile(dbFilePath)
- , _mutex(QMutex::Recursive)
, _transaction(0)
, _metadataTableIsEmpty(false)
{
SqlDatabase _db;
QString _dbFile;
- QMutex _mutex; // Public functions are protected with the mutex.
+ QRecursiveMutex _mutex; // Public functions are protected with the mutex.
QMap<QByteArray, int> _checksymTypeCache;
int _transaction;
bool _metadataTableIsEmpty;