Semi-colons

This commit is contained in:
Brian M. Carlson 2013-10-21 09:39:49 -05:00
parent fc397ee7f5
commit a72bd5cb3c
2 changed files with 2 additions and 2 deletions

View File

@ -163,7 +163,7 @@ Client.prototype.connect = function(callback) {
con.once('end', function() { con.once('end', function() {
if(self.activeQuery) { if(self.activeQuery) {
var disconnectError = new Error('Stream unexpectedly ended during query execution') var disconnectError = new Error('Stream unexpectedly ended during query execution');
self.activeQuery.handleError(disconnectError); self.activeQuery.handleError(disconnectError);
self.activeQuery = null; self.activeQuery = null;
} }

View File

@ -72,7 +72,7 @@ Query.prototype.handleCommandComplete = function(msg, con) {
this._result.addCommandComplete(msg); this._result.addCommandComplete(msg);
//need to sync after each command complete of a prepared statement //need to sync after each command complete of a prepared statement
if(this.isPreparedStatement) { if(this.isPreparedStatement) {
con.sync() con.sync();
} }
}; };