diff options
Diffstat (limited to 'common/storage_lmdb.cpp')
-rw-r--r-- | common/storage_lmdb.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/storage_lmdb.cpp b/common/storage_lmdb.cpp index e32618b..ef3363a 100644 --- a/common/storage_lmdb.cpp +++ b/common/storage_lmdb.cpp | |||
@@ -603,6 +603,7 @@ void Storage::removeFromDisk() const | |||
603 | const QString fullPath(d->storageRoot + '/' + d->name); | 603 | const QString fullPath(d->storageRoot + '/' + d->name); |
604 | QMutexLocker locker(&d->sMutex); | 604 | QMutexLocker locker(&d->sMutex); |
605 | QDir dir(fullPath); | 605 | QDir dir(fullPath); |
606 | std::cout << "Removing database from disk: " << fullPath.toStdString() << std::endl; | ||
606 | if (!dir.removeRecursively()) { | 607 | if (!dir.removeRecursively()) { |
607 | Error error(d->name.toLatin1(), ErrorCodes::GenericError, QString("Failed to remove directory %1 %2").arg(d->storageRoot).arg(d->name).toLatin1()); | 608 | Error error(d->name.toLatin1(), ErrorCodes::GenericError, QString("Failed to remove directory %1 %2").arg(d->storageRoot).arg(d->name).toLatin1()); |
608 | defaultErrorHandler()(error); | 609 | defaultErrorHandler()(error); |