Skip to content

Commit 94d156d

Browse files
committed
sql: remove deferred c.bufferReadyForQuery
Informs cockroachdb#105448 This line is only used in a testing knob, but is not required by any tests so it can be removed. Release note: None
1 parent 5e1ee5a commit 94d156d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/sql/pgwire/conn.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,6 @@ func (c *conn) processCommands(
187187
_ = c.writeErr(ctx, retErr, &c.writerState.buf)
188188
_ /* n */, _ /* err */ = c.writerState.buf.WriteTo(c.conn)
189189
c.stmtBuf.Close()
190-
// Send a ready for query to make sure the client can react.
191-
// TODO(andrei, jordan): Why are we sending this exactly?
192-
c.bufferReadyForQuery('I')
193190
}
194191
}
195192
if !authOK {

0 commit comments

Comments
 (0)