minor: BSON constant fix

This commit is contained in:
Kyle Banker 2011-01-03 15:09:07 -05:00
parent 2828b19111
commit 9babfc95bb
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ MINIMUM_BSON_EXT_VERSION = "1.2.rc0"
module BSON module BSON
VERSION = "1.2.rc0" VERSION = "1.2.rc0"
if defined? Mongo if defined? Mongo::DEFAULT_MAX_BSON_SIZE
DEFAULT_MAX_BSON_SIZE = Mongo::DEFAULT_MAX_BSON_SIZE DEFAULT_MAX_BSON_SIZE = Mongo::DEFAULT_MAX_BSON_SIZE
else else
DEFAULT_MAX_BSON_SIZE = 4 * 1024 * 1024 DEFAULT_MAX_BSON_SIZE = 4 * 1024 * 1024