git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c1765f0
)
CDB::CDB() : Add initializer for fReadOnly member.
author
CryptoManiac
<balthazar@yandex.ru>
Mon, 2 May 2016 18:22:03 +0000 (21:22 +0300)
committer
CryptoManiac
<balthazar@yandex.ru>
Mon, 2 May 2016 18:22:03 +0000 (21:22 +0300)
src/db.cpp
patch
|
blob
|
history
diff --git
a/src/db.cpp
b/src/db.cpp
index
e082dbd
..
eb86627
100644
(file)
--- a/
src/db.cpp
+++ b/
src/db.cpp
@@
-205,7
+205,7
@@
void CDBEnv::CheckpointLSN(string strFile)
CDB::CDB(const char *pszFile, const char* pszMode) :
- pdb(NULL), activeTxn(NULL)
+ pdb(NULL), activeTxn(NULL), fReadOnly(true)
{
int ret;
if (pszFile == NULL)