We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ea2f25 commit 7ca21acCopy full SHA for 7ca21ac
lib/native/query.js
@@ -64,6 +64,9 @@ p.handleError = function(error) {
64
}
65
66
p.handleReadyForQuery = function(meta) {
67
+ if (this._canceledDueToError) {
68
+ return this.handleError(this._canceledDueToError);
69
+ }
70
if(meta) {
71
this._result.addCommandComplete(meta);
72
lib/query.js
@@ -93,6 +93,9 @@ p.handleCommandComplete = function(msg) {
93
};
94
95
p.handleReadyForQuery = function() {
96
97
98
99
if(this.callback) {
100
this.callback(null, this._result);
101
0 commit comments