You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-08 14:22:09 +03:00
Documented all of the vars in the SM config file. Also add'l # parsing to Config.
Realized our Config class wouldn't handle tera- (T/t) processing but no reason it shouldn't. Ex, they want a 1TB cache, they can specify '1t' as the cache_size.
This commit is contained in:
@@ -144,7 +144,9 @@ string expand_numbers(const boost::smatch &match)
|
||||
long num = stol(match[1].str());
|
||||
char suffix = (char) ::tolower(match[2].str()[0]);
|
||||
|
||||
if (suffix == 'g')
|
||||
if (suffix == 't')
|
||||
num <<= 40;
|
||||
else if (suffix == 'g')
|
||||
num <<= 30;
|
||||
else if (suffix == 'm')
|
||||
num <<= 20;
|
||||
|
Reference in New Issue
Block a user