We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 693f927 commit 62dafa7Copy full SHA for 62dafa7
src/peersafe/app/tx/impl/SqlStatement.cpp
@@ -266,6 +266,11 @@ namespace ripple {
266
if(!OperationRule::hasOperationRule(view,tx))
267
return tesSUCCESS;
268
//
269
+ if (ctx_.app.getTxStoreDBConn().GetDBConn() == nullptr ||
270
+ ctx_.app.getTxStoreDBConn().GetDBConn()->getSession().get_backend() == nullptr)
271
+ {
272
+ return tefDBNOTCONFIGURED;
273
+ }
274
auto envPair = getTransactionDBEnv(ctx_);
275
TxStoreTransaction stTran(envPair.first);
276
TxStore& txStore = *envPair.second;
0 commit comments