lib/mongo/operation/write/bulk/bulkable.rb in mongo-2.3.1 vs lib/mongo/operation/write/bulk/bulkable.rb in mongo-2.4.0.rc0
- old
+ new
@@ -63,10 +63,10 @@
end
def gle
wc = write_concern || WriteConcern.get(WriteConcern::DEFAULT)
gle_message = ( ordered? && wc.get_last_error.nil? ) ?
- Mongo::WriteConcern.get(Mongo::WriteConcern::DEFAULT).get_last_error :
+ WriteConcern.get(WriteConcern::DEFAULT).get_last_error :
wc.get_last_error
if gle_message
Protocol::Query.new(
db_name,
Database::COMMAND,