stijnsanders / TMongoWire

Delphi MongoDB driver
MIT License
102 stars 37 forks source link

Small fix for setting previously unset keys in the new Set_item method. #11

Closed smokingdev closed 12 years ago

smokingdev commented 12 years ago

Hi,

Your new code regarding keeping the original order of the keys contained a small bug which scrambles the BSONDocument when setting keys which we're new to the document.

I've added a small fix to solve the problem.

Kind regards,

Fred Oranje

stijnsanders commented 12 years ago

thanks, did some quick checking, but missed that one