Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
porsager committed Apr 9, 2024
1 parent 9ab8f85 commit 18d750b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions cf/src/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -958,14 +958,14 @@ function Connection(options, queues = {}, { onopen = noop, onend = noop, onclose
function Execute(portal = '', rows = 0) {
return Buffer.concat([
b().E().str(portal + b.N).i32(rows).end(),
Flush
rows === 0 ? Sync : Flush
])
}

function Close(portal = '') {
return Buffer.concat([
b().C().str('P').str(portal + b.N).end(),
b().S().end()
Sync
])
}

Expand Down
4 changes: 2 additions & 2 deletions cjs/src/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -956,14 +956,14 @@ function Connection(options, queues = {}, { onopen = noop, onend = noop, onclose
function Execute(portal = '', rows = 0) {
return Buffer.concat([
b().E().str(portal + b.N).i32(rows).end(),
Flush
rows === 0 ? Sync : Flush
])
}

function Close(portal = '') {
return Buffer.concat([
b().C().str('P').str(portal + b.N).end(),
b().S().end()
Sync
])
}

Expand Down
4 changes: 2 additions & 2 deletions deno/src/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -959,14 +959,14 @@ function Connection(options, queues = {}, { onopen = noop, onend = noop, onclose
function Execute(portal = '', rows = 0) {
return Buffer.concat([
b().E().str(portal + b.N).i32(rows).end(),
Flush
rows === 0 ? Sync : Flush
])
}

function Close(portal = '') {
return Buffer.concat([
b().C().str('P').str(portal + b.N).end(),
b().S().end()
Sync
])
}

Expand Down

0 comments on commit 18d750b

Please sign in to comment.