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
Minor improvement to what determines whether a file is 'local'
or on some 'other' kind of filesystem.
This commit is contained in:
@ -131,7 +131,7 @@ bool IDBPolicy::isLocalFile( const std::string& path )
|
||||
#endif
|
||||
bool isXml = filepath.extension() == ".xml";
|
||||
//bool isDbrm = path.find("dbrm") != string::npos; // StorageManager: debatable whether dbrm files should go in the cloud
|
||||
bool isVb = path.find("versionbuffer") != string::npos;
|
||||
bool isVb = filepath.filename() == "versionbuffer.cdf";
|
||||
bool isScratch = path.find(s_hdfsRdwrScratch) == 0;
|
||||
|
||||
return isXml || isVb || isScratch;
|
||||
|
Reference in New Issue
Block a user