1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-08 14:22:09 +03:00

Relocating everything in the repo s.t. it can be merged into

the columnstore repo.
This commit is contained in:
Patrick LeBlanc
2019-08-14 11:07:24 -05:00
parent 87f9523028
commit fba0c1728c
78 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,43 @@
/* Copyright (C) 2019 MariaDB Corporation
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; version 2 of
the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#include <iostream>
#include "IOCoordinator.h"
using namespace std;
using namespace storagemanager;
void usage(const char *progname)
{
cerr << progname << " is like 'rm -rf' for files managed by StorageManager, but with no options or globbing" << endl;
cerr << "Usage: " << progname << " file-or-dir1 file-or-dir2 .. file-or-dirN" << endl;
}
int main(int argc, char **argv)
{
if (argc < 2)
{
usage(argv[0]);
return 1;
}
IOCoordinator *ioc = IOCoordinator::get();
for (int i = 1; i < argc; i++)
ioc->unlink(argv[i]);
return 0;
}