aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorGregory Maxwell <[email protected]>2013-03-19 10:11:43 -0700
committerGregory Maxwell <[email protected]>2013-03-19 10:11:43 -0700
commit124f823714ef6ddada47d65da0627ddeab0cb102 (patch)
tree087e338f06821d52ba92c0286540281c49821ea7 /src/init.cpp
parentMerge pull request #2215 from Diapolo/Qt_sendfrom_addrbook (diff)
downloaddiscoin-124f823714ef6ddada47d65da0627ddeab0cb102.tar.xz
discoin-124f823714ef6ddada47d65da0627ddeab0cb102.zip
Deleting everything except the wallet will not help recover from BDB errors.
Now that the wallet is the only thing in BDB any DB open errors must be from the wallet itself-- so deleting everything else will not likely help.
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 34443d81a..63610b17f 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -612,9 +612,7 @@ bool AppInit2()
if (!bitdb.Open(GetDataDir()))
{
- string msg = strprintf(_("Error initializing database environment %s!"
- " To recover, BACKUP THAT DIRECTORY, then remove"
- " everything from it except for wallet.dat."), strDataDir.c_str());
+ string msg = strprintf(_("Error initializing wallet database environment %s!"), strDataDir.c_str());
return InitError(msg);
}