Browse Source

compatibility with db6

pull/19/head
orignal 7 years ago
parent
commit
9c1b5fe297
  1. 2
      src/db.cpp

2
src/db.cpp

@ -38,7 +38,7 @@ void CDBEnv::EnvShutdown() @@ -38,7 +38,7 @@ void CDBEnv::EnvShutdown()
if (ret != 0)
printf("EnvShutdown exception: %s (%d)\n", DbEnv::strerror(ret), ret);
if (!fMockDb)
DbEnv(0).remove(path.string().c_str(), 0);
DbEnv((uint32_t)0).remove(path.string().c_str(), 0);
}
CDBEnv::CDBEnv() : dbenv(DB_CXX_NO_EXCEPTIONS)

Loading…
Cancel
Save