Semi-colons
This commit is contained in:
parent
fc397ee7f5
commit
a72bd5cb3c
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user