1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00
This commit is contained in:
david hill
2016-05-16 14:01:31 -05:00
parent 3c05dcf426
commit f8819b3b1b

View File

@ -64,11 +64,11 @@ int main(int argc, char *argv[])
string installDir = "/usr/local";
string MySQLport= oam::UnassignedName;
string installPackageType = "";
string product = "columnstore";
string company = "MariaDB-Columnstore";
string calpontPackagename = "mariadb-columnstore";
string installLocation = "/MariaDB/Columnstore";
string adminCommand = "mcsadmin";
string company = "InfiniDB";
string calpontPackagename = "infinidb";
string installLocation = "/Calpont";
string adminCommand = "calpontConsole";
string product = "infinidb";
char* pcommand = 0;
string prompt;
@ -194,13 +194,13 @@ int main(int argc, char *argv[])
exit(1);
}
if ( product == "infinidb" ) {
company = "InfiniDB";
calpontPackagename = "infinidb";
installLocation = "" + installLocation + "";
adminCommand = "calpontConsole";
if ( product == "columnstore" ) {
company = "MariaDB-Columnstore";
calpontPackagename = "mariadb-columnstore";
installLocation = "/MariaDB/Columnstore";
adminCommand = "mcsadmin";
}
else if ( product != "columnstore" )
else if ( product != "infinidb" )
{
cout << endl;
cout << "Invalid product name" << endl;