[CSE] Reset the new Queries on close

This commit is contained in:
Tomaz Canabrava 2018-01-28 17:46:20 +01:00
parent b909bb6977
commit be817748f8

View file

@ -761,6 +761,8 @@ void SyncJournalDb::close()
_getDataFingerprintQuery.reset(0);
_setDataFingerprintQuery1.reset(0);
_setDataFingerprintQuery2.reset(0);
_setE2eFileRelationQuery.reset(0);
_getE2eFileMangledName.reset(0);
_db.close();
_avoidReadFromDbOnNextSyncFilter.clear();