1
0
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:
Andrew Hutchings
2019-11-14 15:02:56 +00:00
parent 0621762378
commit 494ef36bca

View File

@ -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];
}
}