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