mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-01 08:25:51 +00:00
Move log message up to caller of import
This commit is contained in:
@@ -222,6 +222,11 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
String getName () const
|
||||
{
|
||||
return m_backend->getName ();
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
NodeObject::Ptr fetch (uint256 const& hash)
|
||||
@@ -436,10 +441,6 @@ public:
|
||||
|
||||
ScopedPointer <Backend> srcBackend (createBackend (sourceBackendParameters, m_scheduler));
|
||||
|
||||
WriteLog (lsWARNING, NodeObject) <<
|
||||
"Node import from '" << srcBackend->getName() << "' to '"
|
||||
<< m_backend->getName() << "'.";
|
||||
|
||||
ImportVisitCallback callback (*m_backend);
|
||||
|
||||
srcBackend->visitAll (callback);
|
||||
@@ -736,7 +737,7 @@ public:
|
||||
Batch batch3;
|
||||
createPredictableBatch (batch3, 1, numObjectsToTest, seedValue);
|
||||
|
||||
expect (! areBatchesEqual (batch1, batch3), "Should be equal");
|
||||
expect (! areBatchesEqual (batch1, batch3), "Should not be equal");
|
||||
}
|
||||
|
||||
// Checks encoding/decoding blobs
|
||||
@@ -959,13 +960,13 @@ public:
|
||||
|
||||
testBackend ("leveldb", seedValue);
|
||||
|
||||
#if RIPPLE_HYPERLEVELDB_AVAILABLE
|
||||
#if RIPPLE_HYPERLEVELDB_AVAILABLE
|
||||
testBackend ("hyperleveldb", seedValue);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if RIPPLE_MDB_AVAILABLE
|
||||
#if RIPPLE_MDB_AVAILABLE
|
||||
testBackend ("mdb", seedValue);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
testBackend ("sqlite", seedValue);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user