mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
Add batch warning for further review
This commit is contained in:
parent
ae0854a431
commit
7c013f66e9
@ -2293,6 +2293,10 @@ void BlockchainLMDB::batch_abort()
|
||||
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");
|
||||
}
|
||||
m_batch_transactions = batch_transactions;
|
||||
LOG_PRINT_L3("batch transactions " << (m_batch_transactions ? "enabled" : "disabled"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user