You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-07 03:22:57 +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
|
else
|
||||||
{
|
{
|
||||||
cout << tmpfilepath << endl;
|
cout << tmpfilepath << endl;
|
||||||
|
bool itWorked = false;
|
||||||
if (!boost::filesystem::create_directory(tmpfilepath))
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
itWorked = boost::filesystem::create_directories(tmpfilepath);
|
||||||
|
}
|
||||||
|
catch (...)
|
||||||
|
{ }
|
||||||
|
if (!itWorked)
|
||||||
{
|
{
|
||||||
// We failed to create the scratch directory
|
// We failed to create the scratch directory
|
||||||
ostringstream oss;
|
ostringstream oss;
|
||||||
|
Reference in New Issue
Block a user