diff options
author | Mathias Stearn <mathias@10gen.com> | 2009-10-16 13:02:07 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2009-10-16 13:57:03 -0400 |
commit | d3961ff7facda4fb50a824de0846581b2dcf851e (patch) | |
tree | deeab8ef2879cd2d900fd6e7e2825e9cee23d8af | |
parent | e401ac9c355d4c4bcfad47019e65cb8ee6f85cee (diff) | |
download | mongo-d3961ff7facda4fb50a824de0846581b2dcf851e.tar.gz |
default contentType for GridFS file from buffer. MINOR
-rw-r--r-- | client/gridfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/gridfs.h b/client/gridfs.h index 7949bbefa20..5018356660c 100644 --- a/client/gridfs.h +++ b/client/gridfs.h @@ -73,7 +73,7 @@ namespace mongo { * (default is to omit) * @return the file object */ - BSONObj storeFile( const char* data , size_t length , const string& remoteName , const string& contentType); + BSONObj storeFile( const char* data , size_t length , const string& remoteName , const string& contentType=""); /** * removes file referenced by fileName from the db * @param fileName filename (in GridFS) of the file to remove |