Skip to content

Commit 148098d

Browse files
committed
Remove conditional not in bb
Signed-off-by: Salil Chandra <schandra107@bloomberg.net>
1 parent d9ca0a5 commit 148098d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

cdb2api/cdb2api.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5063,9 +5063,7 @@ int cdb2_next_record(cdb2_hndl_tp *hndl)
50635063
if (overwrite_rc)
50645064
goto after_callback;
50655065

5066-
if (hndl->in_trans && !hndl->read_intrans_results && !hndl->is_read) {
5067-
rc = CDB2_OK_DONE;
5068-
} else if (hndl->lastresponse && hndl->first_record_read == 0) {
5066+
if (hndl->lastresponse && hndl->first_record_read == 0) {
50695067
hndl->first_record_read = 1;
50705068
if (hndl->lastresponse->response_type == RESPONSE_TYPE__COLUMN_VALUES ||
50715069
hndl->lastresponse->response_type == RESPONSE_TYPE__SQL_ROW) {

0 commit comments

Comments
 (0)