You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
Options to build with TSAN, UBSAN and skipping smoke (#2826)
This commit is contained in:
@ -2105,6 +2105,11 @@ int FileOp::oid2FileName(FID fid, char* fullFileName, bool bCreateDir, uint16_t
|
||||
RETURN_ON_ERROR((Convertor::oid2FileName(fid, tempFileName, dbDir, partition, segment)));
|
||||
|
||||
// see if file exists in specified DBRoot; return if found
|
||||
if (fullFileName == nullptr)
|
||||
{
|
||||
return ERR_INTERNAL;
|
||||
}
|
||||
|
||||
if (dbRoot > 0)
|
||||
{
|
||||
sprintf(fullFileName, "%s/%s", Config::getDBRootByNum(dbRoot).c_str(), tempFileName);
|
||||
@ -2220,6 +2225,12 @@ int FileOp::oid2DirName(FID fid, char* oidDirName) const
|
||||
return NO_ERROR;
|
||||
}
|
||||
|
||||
|
||||
if (oidDirName == nullptr)
|
||||
{
|
||||
return ERR_INTERNAL;
|
||||
}
|
||||
|
||||
RETURN_ON_ERROR((Convertor::oid2FileName(fid, tempFileName, dbDir, 0, 0)));
|
||||
|
||||
// Now try to find the directory in each of the DBRoots.
|
||||
|
Reference in New Issue
Block a user