1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-18 13:54:11 +03:00

Removed some redundant assertions around deleting files,

commented the one in replicator::remove() to get ready for milestone-2,
and to make the unit test work.
This commit is contained in:
Patrick LeBlanc
2019-05-28 09:57:26 -05:00
parent be01adb150
commit 9a1dc8a4c5
4 changed files with 9 additions and 29 deletions

View File

@@ -195,11 +195,11 @@ int Replicator::remove(const boost::filesystem::path &filename, Flags flags)
try
{
#ifndef NDEBUG
assert(boost::filesystem::remove_all(filename) > 0);
#else
//#ifndef NDEBUG
// assert(boost::filesystem::remove_all(filename) > 0);
//#else
boost::filesystem::remove_all(filename);
#endif
//#endif
}
catch(boost::filesystem::filesystem_error &e)
{