diff options
author | Eliot Horowitz <eliot@10gen.com> | 2009-10-09 22:11:15 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2009-10-09 22:11:15 -0400 |
commit | 8a6dfdc9e967dca275720391dfa297087d4337c0 (patch) | |
tree | 5086a873802b0f37b9ed3a4c20257a666a3219f3 /tools/dump.cpp | |
parent | 6e67c98509d80d88859a23548205d09a6d7d9b4a (diff) | |
download | mongo-8a6dfdc9e967dca275720391dfa297087d4337c0.tar.gz |
cleaning tool debugging/tests
Diffstat (limited to 'tools/dump.cpp')
-rw-r--r-- | tools/dump.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dump.cpp b/tools/dump.cpp index ff354f725e4..c67b6b1fd33 100644 --- a/tools/dump.cpp +++ b/tools/dump.cpp @@ -38,7 +38,7 @@ public: cout << "\t" << coll << " to " << outputFile.string() << endl; ofstream out; - out.open( outputFile.string().c_str() ); + out.open( outputFile.string().c_str() , ios_base::out | ios_base::binary ); uassert( "couldn't open file" , out.good() ); ProgressMeter m( conn( true ).count( coll.c_str() ) ); |