File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -370,7 +370,7 @@ final class PostgresChannelHandler: ChannelDuplexHandler {
370
370
case . sendParseDescribeBindExecuteSync( let query, let promise) :
371
371
self . sendParseDescribeBindExecuteAndSyncMessage ( query: query, context: context, promise: promise)
372
372
case . succeedQuery( let promise, with: let result) :
373
- self . succeedQuery ( rowsPromise : promise, result: result, context: context)
373
+ self . succeedQuery ( promise, result: result, context: context)
374
374
case . failQuery( let promise, with: let error, let cleanupContext) :
375
375
promise. fail ( error)
376
376
if let cleanupContext = cleanupContext {
@@ -560,7 +560,7 @@ final class PostgresChannelHandler: ChannelDuplexHandler {
560
560
}
561
561
562
562
private func succeedQuery(
563
- rowsPromise : EventLoopPromise < PSQLRowStream > ,
563
+ _ promise : EventLoopPromise < PSQLRowStream > ,
564
564
result: QueryResult ,
565
565
context: ChannelHandlerContext
566
566
) {
@@ -582,7 +582,7 @@ final class PostgresChannelHandler: ChannelDuplexHandler {
582
582
)
583
583
}
584
584
585
- rowsPromise . succeed ( rows)
585
+ promise . succeed ( rows)
586
586
}
587
587
588
588
private func closeConnectionAndCleanup(
You can’t perform that action at this time.
0 commit comments