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
Mcol 4560 (#2337)
* MCOL-4560 remove unused xml entries and code that references it. There is reader code and variables for some of these settings, but nobody uses them.
This commit is contained in:
@ -160,7 +160,6 @@ void getModuleTypeConfig(FILE* pOutputFile)
|
||||
fprintf(pOutputFile, "ModuleType '%s' Configuration information\n", moduletype.c_str());
|
||||
fprintf(pOutputFile, "ModuleDesc = %s\n",
|
||||
systemmoduletypeconfig.moduletypeconfig[i].ModuleDesc.c_str());
|
||||
fprintf(pOutputFile, "RunType = %s\n", systemmoduletypeconfig.moduletypeconfig[i].RunType.c_str());
|
||||
fprintf(pOutputFile, "ModuleCount = %i\n", moduleCount);
|
||||
|
||||
if (moduleCount > 0)
|
||||
@ -379,23 +378,16 @@ void getStorageConfig(FILE* pOutputFile)
|
||||
string volumeName = oam::UnassignedName;
|
||||
string deviceNameID = "PMVolumeDeviceName" + oam.itoa(*pt);
|
||||
string deviceName = oam::UnassignedName;
|
||||
string amazonDeviceNameID = "PMVolumeAmazonDeviceName" + oam.itoa(*pt);
|
||||
string amazondeviceName = oam::UnassignedName;
|
||||
|
||||
try
|
||||
{
|
||||
oam.getSystemConfig(volumeNameID, volumeName);
|
||||
oam.getSystemConfig(deviceNameID, deviceName);
|
||||
oam.getSystemConfig(amazonDeviceNameID, amazondeviceName);
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
fprintf(pOutputFile,
|
||||
"Amazon EC2 Volume Name/Device Name/Amazon Device Name for DBRoot%u: %s, %s, %s", *pt,
|
||||
volumeName.c_str(), deviceName.c_str(), amazondeviceName.c_str());
|
||||
}
|
||||
}
|
||||
catch (exception& e)
|
||||
@ -412,22 +404,16 @@ void getStorageConfig(FILE* pOutputFile)
|
||||
string volumeName = oam::UnassignedName;
|
||||
string deviceNameID = "PMVolumeDeviceName" + oam.itoa(*pt1);
|
||||
string deviceName = oam::UnassignedName;
|
||||
string amazonDeviceNameID = "PMVolumeAmazonDeviceName" + oam.itoa(*pt1);
|
||||
string amazondeviceName = oam::UnassignedName;
|
||||
|
||||
try
|
||||
{
|
||||
oam.getSystemConfig( volumeNameID, volumeName);
|
||||
oam.getSystemConfig( deviceNameID, deviceName);
|
||||
oam.getSystemConfig( amazonDeviceNameID, amazondeviceName);
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
fprintf(pOutputFile,"Amazon EC2 Volume Name/Device Name/Amazon Device Name for DBRoot%u: %s, %s,
|
||||
%s",*pt1,volumeName.c_str(),deviceName.c_str(),amazondeviceName.c_str());
|
||||
}*/
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user