mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-25 16:03:13 +00:00
Merge pull request #963 from dorianj/cancellation
Fix byte representation of CancelRequest message
This commit is contained in:
commit
eabbebaea8
@ -159,7 +159,7 @@ Connection.prototype.cancel = function(processID, secretKey) {
|
||||
.addInt16(5678)
|
||||
.addInt32(processID)
|
||||
.addInt32(secretKey)
|
||||
.addCString('').flush();
|
||||
.flush();
|
||||
|
||||
var length = bodyBuffer.length + 4;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user