1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-08 14:22:09 +03:00

MCOL-4033: add columnstore version to header of output files.

This commit is contained in:
benthompson15
2020-06-12 18:14:21 -05:00
parent 2cf794e5ec
commit 0a495b1742

View File

@@ -35,6 +35,7 @@
#include "configcpp.h"
#include "installdir.h"
#include "mcsSupportUtil.h"
#include "columnstoreversion.h"
using namespace std;
using namespace oam;
@@ -105,13 +106,14 @@ void childReportThread(threadInfo_t& st)
"\n"
" System %s\n"
" columnstoreSupportReport script ran from Module %s on %s\n"
" SoftwareVersion = %s-%s"
"\n"
"********************************************************************************\n"
"\n"
" %s report\n"
"\n"
"********************************************************************************\n",
systemName.c_str(),localModule.c_str(),currentDate.c_str(),reportType.c_str());
systemName.c_str(),localModule.c_str(),currentDate.c_str(),columnstore_version.c_str(),columnstore_release.c_str(),reportType.c_str());
}
cout << "Get " + reportType + " report data for " + remoteModuleName + " " << endl;
@@ -166,13 +168,14 @@ void reportThread(string reporttype)
"\n"
" System %s\n"
" columnstoreSupportReport script ran from Module %s on %s\n"
" SoftwareVersion = %s-%s"
"\n"
"********************************************************************************\n"
"\n"
" %s report\n"
"\n"
"********************************************************************************\n",
systemName.c_str(),localModule.c_str(),currentDate.c_str(),reportType.c_str());
systemName.c_str(),localModule.c_str(),currentDate.c_str(),columnstore_version.c_str(),columnstore_release.c_str(),reportType.c_str());
fclose(pOutputFile);
// run on child servers and get report
@@ -750,13 +753,14 @@ int main(int argc, char* argv[])
"\n"
" System %s\n"
" columnstoreSupportReport script ran from Module %s on %s\n"
" SoftwareVersion = %s-%s"
"\n"
"********************************************************************************\n"
"\n"
" DBMS report\n"
"\n"
"********************************************************************************\n",
systemName.c_str(),localModule.c_str(),currentDate.c_str());
systemName.c_str(),localModule.c_str(),currentDate.c_str(),columnstore_version.c_str(),columnstore_release.c_str());
fclose(pOutputFile);