Comparing version 0.12.3 to 0.12.4
@@ -454,3 +454,3 @@ // Copyright 2013 SAP AG. | ||
if (this._queue.empty && !this._queue.busy) { | ||
if (this.isIdle()) { | ||
return enqueueDisconnect(); | ||
@@ -562,3 +562,3 @@ } | ||
} | ||
if (this._queue.empty && !this._queue.busy) { | ||
if (this.isIdle()) { | ||
return closeConnection(); | ||
@@ -575,2 +575,6 @@ } | ||
Connection.prototype.isIdle = function isIdle() { | ||
return this._queue.empty && !this._queue.busy; | ||
}; | ||
Connection.prototype.setAutoCommit = function setAutoCommit(autoCommit) { | ||
@@ -577,0 +581,0 @@ this._transaction.autoCommit = autoCommit; |
@@ -9,3 +9,3 @@ { | ||
"description": "SAP HANA Database Client for Node", | ||
"version": "0.12.3", | ||
"version": "0.12.4", | ||
"repository": { | ||
@@ -12,0 +12,0 @@ "type": "git", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
288313
8050