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
Wrote a version of mergejournal that uses more mem but reduces the io op
requirement. Added a safety valve; if the journal file is > 100MB, it will fall back to the previous IO op heavy but mem friendly version. This also includes a compiler warning fix for smls & smput.
This commit is contained in:
@@ -172,9 +172,9 @@ int main(int argc, char **argv)
|
||||
int prefixlen = makePathPrefix(prefix, 8192);
|
||||
|
||||
if (SMOnline())
|
||||
putOnline(strncat(prefix, argv[1], 8192), prefixlen);
|
||||
putOnline(strncat(prefix, argv[1], 8192 - prefixlen), prefixlen);
|
||||
else
|
||||
putOffline(strncat(prefix, argv[1], 8192), prefixlen);
|
||||
putOffline(strncat(prefix, argv[1], 8192 - prefixlen), prefixlen);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user