mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
Additional fix for cloneCollection() js function
This commit is contained in:
parent
c7496cc9bf
commit
e910263ed2
@ -176,7 +176,7 @@ DB.prototype.cloneCollection = function(from, collection, query) {
|
|||||||
collection = this._name + "." + collection;
|
collection = this._name + "." + collection;
|
||||||
query = query || {};
|
query = query || {};
|
||||||
//this.resetIndexCache();
|
//this.resetIndexCache();
|
||||||
return this._dbCommand( { cloneCollection:collection, fromhost:from, query:query } );
|
return this._dbCommand( { cloneCollection:collection, from:from, query:query } );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user