1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

Eventually found the problem with rename(). Was calling

::unlink() instead of our unlink/remove.
This commit is contained in:
Patrick LeBlanc
2019-04-10 15:01:29 -05:00
parent c0f93d904a
commit dfc29fa833
4 changed files with 9 additions and 3 deletions

View File

@ -20,6 +20,8 @@
#include "SMFileFactory.h"
#include "SMDataFile.h"
#include "SMComm.h"
#include "BufferedFile.h"
#include "IDBDataFile.h"
using namespace std;
@ -28,6 +30,10 @@ namespace idbdatafile {
IDBDataFile* SMFileFactory::open(const char *filename, const char *mode, unsigned opts, unsigned colWidth)
{
// TODO, test whether this breaks anything.
//if (opts & IDBDataFile::USE_TMPFILE)
// return new BufferedFile(filename, mode, opts);
bool _read = false;
bool _write = false;
bool create = false;