db_lmdb: demote the "batch already enabled" log, it's harmless

pull/88/head
moneromooo-monero 6 years ago committed by wowario
parent 40573dd79c
commit e1c3d0cc76
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -2778,10 +2778,10 @@ void BlockchainLMDB::set_batch_transactions(bool batch_transactions)
LOG_PRINT_L3("BlockchainLMDB::" << __func__);
if ((batch_transactions) && (m_batch_transactions))
{
LOG_PRINT_L0("WARNING: batch transaction mode already enabled, but asked to enable batch mode");
MINFO("batch transaction mode already enabled, but asked to enable batch mode");
}
m_batch_transactions = batch_transactions;
LOG_PRINT_L3("batch transactions " << (m_batch_transactions ? "enabled" : "disabled"));
MINFO("batch transactions " << (m_batch_transactions ? "enabled" : "disabled"));
}
// return true if we started the txn, false if already started

Loading…
Cancel
Save