Skip to content

Commit

Permalink
Support large files in GridFS SERVER-1408
Browse files Browse the repository at this point in the history
  • Loading branch information
RedBeard0531 committed Aug 9, 2010
1 parent dc1796d commit 8efddce
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions client/gridfs.cpp
Expand Up @@ -66,7 +66,6 @@ namespace mongo {
}

BSONObj GridFS::storeFile( const char* data , size_t length , const string& remoteName , const string& contentType){
massert( 10279 , "large files not yet implemented", length <= 0xffffffff);
char const * const end = data + length;

OID id;
Expand Down Expand Up @@ -127,8 +126,6 @@ namespace mongo {
if (fd != stdin)
fclose( fd );

massert( 10280 , "large files not yet implemented", length <= 0xffffffff);

return insertFile((remoteName.empty() ? fileName : remoteName), id, length, contentType);
}

Expand Down

0 comments on commit 8efddce

Please sign in to comment.