Skip to content

Commit

Permalink
Fix merge error.
Browse files Browse the repository at this point in the history
  • Loading branch information
lanwin committed Jun 28, 2010
1 parent eb2badc commit b9662dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/MongoDB.GridFS/GridFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ public GridFile(IMongoDatabase db, string bucket){
this.db = db;
this.files = db[bucket + ".files"];
this.chunks = db[bucket + ".chunks"];
this.chunks.MetaData.CreateIndex(new Document().Add("files_id", 1).Add("n", 1), true);
this.files.MetaData.CreateIndex(new Document().Add("filename", 1).Add("n", 1), false);
this.chunks.Metadata.CreateIndex(new Document().Add("files_id", 1).Add("n", 1), true);
this.files.Metadata.CreateIndex(new Document().Add("filename", 1).Add("n", 1), false);
this.name = bucket;
}

Expand Down

0 comments on commit b9662dd

Please sign in to comment.