From 8a6e2365a249e2c386f22860bd07690f294d045a Mon Sep 17 00:00:00 2001 From: Christian Amor Kvalheim Date: Tue, 17 Jan 2012 13:54:09 +0100 Subject: [PATCH] illegal char in file fix --- lib/mongodb/db.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/mongodb/db.js b/lib/mongodb/db.js index 762e60f439..943b92536f 100644 --- a/lib/mongodb/db.js +++ b/lib/mongodb/db.js @@ -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;