summaryrefslogtreecommitdiff
path: root/client/dbclient.cpp
diff options
context:
space:
mode:
authorDwight <dwight@10gen.com>2011-05-10 15:52:20 -0400
committerDwight <dwight@10gen.com>2011-05-10 15:52:20 -0400
commit063c8c926bd228caab11d30e0cb7e3d91dd4b3e1 (patch)
treea61f6b40dd4a8bde211cde7f3c5fad2a2af7f2c0 /client/dbclient.cpp
parent8bb232d7b31dfcc893c36bc841bdc70f0def3b19 (diff)
downloadmongo-063c8c926bd228caab11d30e0cb7e3d91dd4b3e1.tar.gz
test drive StackBufBuilder. can use more later
Diffstat (limited to 'client/dbclient.cpp')
-rw-r--r--client/dbclient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/dbclient.cpp b/client/dbclient.cpp
index 44ff45b2e3e..b67159ac2a2 100644
--- a/client/dbclient.cpp
+++ b/client/dbclient.cpp
@@ -944,7 +944,7 @@ namespace mongo {
}
void DBClientConnection::killCursor( long long cursorId ) {
- BufBuilder b;
+ StackBufBuilder b;
b.appendNum( (int)0 ); // reserved
b.appendNum( (int)1 ); // number
b.appendNum( cursorId );