mongodb/node-mongodb-native — pull request #671 by dpacaud (2012-08-05 16:45:27+00:00)
Title: passing the callback function onto _executeInsertCommand

From what I could see, not passing a callback function at this line implies :
- the options argument does not get used as it replaces the callback and is in turn replaced by {}
- breaks at line 1825, in case there is no open connections, because callback is not a function and cannot be called. This causes a Object.CALL_NON_FUNCTION (native) error.