jshint happy
This commit is contained in:
parent
bafcb8051f
commit
327aaf3450
@ -12,8 +12,8 @@ module.exports = class StreamCopy {
|
|||||||
this.sql = sql;
|
this.sql = sql;
|
||||||
this.connectionClosedByClient = false;
|
this.connectionClosedByClient = false;
|
||||||
|
|
||||||
this.copyToStream;
|
this.copyToStream = null;
|
||||||
this.copyFromStream;
|
this.copyFromStream = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
static get ACTION_TO() {
|
static get ACTION_TO() {
|
||||||
@ -61,7 +61,7 @@ module.exports = class StreamCopy {
|
|||||||
pgstream
|
pgstream
|
||||||
.on('end', () => done())
|
.on('end', () => done())
|
||||||
.on('error', err => done(err))
|
.on('error', err => done(err))
|
||||||
.on('cancelQuery', err => {
|
.on('cancelQuery', () => {
|
||||||
client.connection.sendCopyFail('CARTO SQL API: Connection closed by client');
|
client.connection.sendCopyFail('CARTO SQL API: Connection closed by client');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user