You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-05 16:15:50 +03:00
changes for dbroot
This commit is contained in:
@@ -493,14 +493,11 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
//check Config saved files
|
||||
if (!single_server_quick_install || !multi_server_quick_install)
|
||||
{
|
||||
if ( !checkSaveConfigFile())
|
||||
{
|
||||
cout << "ERROR: Configuration File not setup" << endl;
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
//determine package type
|
||||
string EEPackageType;
|
||||
@@ -2471,6 +2468,12 @@ int main(int argc, char *argv[])
|
||||
|
||||
string dbrootList;
|
||||
|
||||
if (multi_server_quick_install)
|
||||
{
|
||||
dbrootList = oam.itoa(moduleID);
|
||||
}
|
||||
else
|
||||
{
|
||||
for ( unsigned int id = 1 ; id < count+1 ; )
|
||||
{
|
||||
string moduledbrootid = "ModuleDBRootID" + oam.itoa(moduleID) + "-" + oam.itoa(id) + "-" + oam.itoa(i+1);
|
||||
@@ -2492,6 +2495,7 @@ int main(int argc, char *argv[])
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
vector <string> dbroots;
|
||||
string tempdbrootList;
|
||||
@@ -3581,6 +3585,15 @@ bool checkSaveConfigFile()
|
||||
}
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (single_server_quick_install || multi_server_quick_install)
|
||||
{
|
||||
cout << endl << "Quick Install is for fresh installs only, '" + oldFileName + "' exist, exiting" << endl;
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
File.close();
|
||||
|
||||
// If 'oldFileName' isn't configured, exit
|
||||
|
Reference in New Issue
Block a user