diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-12-17 10:56:34 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-12-17 10:56:34 +0100 |
commit | 526220eb10bb76205203e3382d9e10d4ec38565a (patch) | |
tree | 5d3fcdc7b273454522169f33eca0ea84f85ec68c /common/storage_lmdb.cpp | |
parent | bbbe87b20a3793aff985e583417ffb56589d5f59 (diff) | |
download | sink-526220eb10bb76205203e3382d9e10d4ec38565a.tar.gz sink-526220eb10bb76205203e3382d9e10d4ec38565a.zip |
Debug output
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); |