increase shell pipe buffer

This commit is contained in:
Eliot Horowitz
2010-08-25 09:43:04 -04:00
parent 97ee21e232
commit 9298bb1f38

View File

@@ -438,7 +438,7 @@ namespace mongo {
try {
// This assumes there aren't any 0's in the mongo program output.
// Hope that's ok.
const unsigned bufSize = 8192;
const unsigned bufSize = 64000;
char buf[ bufSize ];
char temp[ bufSize ];
char *start = buf;