You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
Found a bug in IDBPolicy re creating a 'scratch space' dir. It wasn't
checking for errors right, or creating the dir right.
This commit is contained in:
@ -83,8 +83,15 @@ void IDBPolicy::init( bool bEnableLogging, bool bUseRdwrMemBuffer, const string&
|
||||
else
|
||||
{
|
||||
cout << tmpfilepath << endl;
|
||||
|
||||
if (!boost::filesystem::create_directory(tmpfilepath))
|
||||
bool itWorked = false;
|
||||
|
||||
try
|
||||
{
|
||||
itWorked = boost::filesystem::create_directories(tmpfilepath);
|
||||
}
|
||||
catch (...)
|
||||
{ }
|
||||
if (!itWorked)
|
||||
{
|
||||
// We failed to create the scratch directory
|
||||
ostringstream oss;
|
||||
|
Reference in New Issue
Block a user