mirror of
https://github.com/monero-project/monero.git
synced 2024-12-28 21:56:13 -05:00
Shutup about VERSION 0
This commit is contained in:
parent
1537477c9f
commit
3b13a7473e
@ -947,10 +947,12 @@ void BlockchainBDB::open(const std::string& filename, const int db_flags)
|
|||||||
LOG_PRINT_RED_L0("Existing BerkeleyDB database was made by a later version. We don't know how it will change yet.");
|
LOG_PRINT_RED_L0("Existing BerkeleyDB database was made by a later version. We don't know how it will change yet.");
|
||||||
compatible = false;
|
compatible = false;
|
||||||
}
|
}
|
||||||
else if (VERSION > 0 && result < VERSION)
|
#if VERSION > 0
|
||||||
|
else if (result < VERSION)
|
||||||
{
|
{
|
||||||
compatible = false;
|
compatible = false;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -1142,10 +1142,12 @@ void BlockchainLMDB::open(const std::string& filename, const int mdb_flags)
|
|||||||
LOG_PRINT_RED_L0("Existing lmdb database was made by a later version. We don't know how it will change yet.");
|
LOG_PRINT_RED_L0("Existing lmdb database was made by a later version. We don't know how it will change yet.");
|
||||||
compatible = false;
|
compatible = false;
|
||||||
}
|
}
|
||||||
else if (VERSION > 0 && *(const uint32_t*)v.mv_data < VERSION)
|
#if VERSION > 0
|
||||||
|
else if (*(const uint32_t*)v.mv_data < VERSION)
|
||||||
{
|
{
|
||||||
compatible = false;
|
compatible = false;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user