Add function stub to native result to solve broken test
This commit is contained in:
parent
ac438e8952
commit
b78a508420
@ -19,3 +19,10 @@ NativeResult.prototype.addCommandComplete = function(pq) {
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
NativeResult.prototype.addRow = function(row) {
|
||||
// This is empty to ensure pg code doesn't break when switching to pg-native
|
||||
// pg-native loads all rows into the final result object by default.
|
||||
// This is because libpg loads all rows into memory before passing the result
|
||||
// to pg-native.
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user