summaryrefslogtreecommitdiff
path: root/tools/export.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/export.cpp')
-rw-r--r--tools/export.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/export.cpp b/tools/export.cpp
index 119f0be6d18..2245b7c7328 100644
--- a/tools/export.cpp
+++ b/tools/export.cpp
@@ -74,7 +74,7 @@ public:
}
- auto_ptr<DBClientCursor> cursor = _conn.query( ns.c_str() , getParam( "query" , "" ) , 0 , 0 , fieldsToReturn , Option_SlaveOk );
+ auto_ptr<DBClientCursor> cursor = conn().query( ns.c_str() , getParam( "query" , "" ) , 0 , 0 , fieldsToReturn , Option_SlaveOk );
if ( csv ){
for ( vector<string>::iterator i=fields.begin(); i != fields.end(); i++ ){