summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-10-09 20:58:41 -0400
committerEliot Horowitz <eliot@10gen.com>2009-10-09 20:58:41 -0400
commit503d45411b3900764cc353f86cb33e4c04f7c35c (patch)
tree659d7efea866eccb3c315c12b515ed07352fd16d /tools
parent792c7c775abbdd9966367e467e6abf891ef69579 (diff)
downloadmongo-503d45411b3900764cc353f86cb33e4c04f7c35c.tar.gz
Connection::initThread
Diffstat (limited to 'tools')
-rw-r--r--tools/tool.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/tool.cpp b/tools/tool.cpp
index 5784099a956..9d5482d8f79 100644
--- a/tools/tool.cpp
+++ b/tools/tool.cpp
@@ -122,6 +122,7 @@ int mongo::Tool::main( int argc , char ** argv ){
cerr << "connected to: " << _host << endl;
}
else {
+ Connection::initThread();
_conn = new DBDirectClient();
_host = "DIRECT";
static string myDbpath = getParam( "dbpath" );