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

Fixed a few random things.

This commit is contained in:
Patrick LeBlanc
2019-04-05 14:10:59 -05:00
parent 0d7556811a
commit 1879499ad3
5 changed files with 60 additions and 43 deletions

View File

@@ -187,6 +187,9 @@ int Replicator::remove(const boost::filesystem::path &filename, Flags flags)
{
int ret = 0;
if (flags & NO_LOCAL)
return 0; // not implemented yet
try
{
boost::filesystem::remove_all(filename);
@@ -202,6 +205,9 @@ int Replicator::remove(const boost::filesystem::path &filename, Flags flags)
int Replicator::remove(const char *filename, Flags flags)
{
if (flags & NO_LOCAL)
return 0; // not implemented yet
boost::filesystem::path p(filename);
return remove(p);
}