Skip to content

Commit

Permalink
illegal char in file fix
Browse files Browse the repository at this point in the history
  • Loading branch information
christkv committed Jan 17, 2012
1 parent 055447f commit 8a6e236
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/mongodb/db.js
Expand Up @@ -1006,9 +1006,8 @@ Db.prototype._executeQueryCommand = function(db_command, options, callback) {
};

var __executeInsertCommand = function(self, db_command, options, callback) {
 // Always checkout a writer for this kind of operations
var connection = self.serverConfig.checkoutWriter();

// Always checkout a writer for this kind of operations
var connection = self.serverConfig.checkoutWriter();
var safe = options['safe'] != null ? options['safe'] : false;
var raw = options['raw'] != null ? options['raw'] : self.raw;
var specifiedConnection = options['connection'] != null ? options['connection'] : null;
Expand Down

0 comments on commit 8a6e236

Please sign in to comment.