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-3613 Fix params in columnstore_installer
Typo in arg count meant that -numBlocksPct and -totalUmMemory were not processed correctly. Fixed the arg handling.
This commit is contained in:
@ -129,14 +129,12 @@ int main(int argc, char* argv[])
|
||||
|
||||
string numBlocksPctParam = "";
|
||||
string totalUmMemoryParam = "";
|
||||
if (argc >= 12) {
|
||||
if (argc >= 14) {
|
||||
if (string(argv[12]) != "-") {
|
||||
numBlocksPctParam = argv[13];
|
||||
}
|
||||
if (string(argv[13]) != "-") {
|
||||
totalUmMemoryParam = argv[14];
|
||||
}
|
||||
if (argc >= 14) {
|
||||
if (string(argv[12]) != "-") {
|
||||
numBlocksPctParam = argv[12];
|
||||
}
|
||||
if (string(argv[13]) != "-") {
|
||||
totalUmMemoryParam = argv[13];
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user