You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-09-11 08:50:45 +03:00
more debugging printouts
This commit is contained in:
@@ -9261,13 +9261,14 @@ int ProcessManager::getDBRMData(messageqcpp::IOSocket fIos, std::string moduleNa
|
||||
return returnStatus;
|
||||
}
|
||||
|
||||
string fileName = startup::StartUp::installDir() + "/local/dbrmfiles";
|
||||
unlink(fileName.c_str());
|
||||
//string fileName = startup::StartUp::installDir() + "/local/dbrmfiles";
|
||||
//unlink(fileName.c_str());
|
||||
|
||||
// this replaces the stuff that's if-0'd below
|
||||
boost::filesystem::path pCurrentDbrmFile(currentDbrmFile + "_");
|
||||
boost::filesystem::path dbrmDir(pCurrentDbrmFile.parent_path());
|
||||
log.writeLog(__LINE__, "pCurrentDbrmFile is " + pCurrentDbrmFile.string(), LOG_TYPE_DEBUG);
|
||||
log.writeLog(__LINE__, "pCurrentDbrmFile.filename() is " + pCurrentDbrmFile.filename().string(), LOG_TYPE_DEBUG);
|
||||
log.writeLog(__LINE__, "dbrmDir is " + dbrmDir.string(), LOG_TYPE_DEBUG);
|
||||
list<string> fileListing;
|
||||
vector<string> dbrmFiles;
|
||||
@@ -9278,8 +9279,12 @@ int ProcessManager::getDBRMData(messageqcpp::IOSocket fIos, std::string moduleNa
|
||||
// put file in dbrmFiles if it contains the right prefix and is not empty
|
||||
if (file.find(pCurrentDbrmFile.filename().string()) == 0)
|
||||
log.writeLog(__LINE__, "this one should go in the set", LOG_TYPE_DEBUG);
|
||||
if (fs.size((dbrmDir / file).string().c_str()) != 0)
|
||||
log.writeLog(__LINE__, "FS says size = 0", LOG_TYPE_DEBUG);
|
||||
else
|
||||
log.writeLog(__LINE__, "didn't pass the prefix test", LOG_TYPE_DEBUG);
|
||||
if (fs.size((dbrmDir / file).string().c_str()) == 0)
|
||||
log.writeLog(__LINE__, "FS says " + (dbrmDir / file).string() + " size = 0", LOG_TYPE_DEBUG);
|
||||
else
|
||||
log.writeLog(__LINE__, "FS says " + (dbrmDir / file).string() + " size > 0", LOG_TYPE_DEBUG);
|
||||
|
||||
if (file.find(pCurrentDbrmFile.filename().string()) == 0 &&
|
||||
fs.size((dbrmDir / file).string().c_str()) != 0)
|
||||
|
Reference in New Issue
Block a user