Skip to content

Commit b137206

Browse files
author
Aurynn Shaw
committed
Re-removing the debugging line.
1 parent 79166de commit b137206

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

demo.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,4 @@ db.transaction(function (tx) {
3939
});
4040
// tx.commit();
4141
});
42-
4342
db.close();

lib/postgres-pure.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,9 @@ function Connection(args) {
909909
}
910910
if (readyState) {
911911
if (tx_queue.length > 0) {
912-
sys.debug("nextTx: tx_queue length is: " + tx_queue.length);
912+
if (exports.DEBUG > 1) {
913+
sys.debug("nextTx: tx_queue length is: " + tx_queue.length);
914+
}
913915
current_tx = tx_queue.shift();
914916
if (current_tx !== null && current_tx !== undefined) {
915917
if (exports.DEBUG>2) {

0 commit comments

Comments
 (0)