Skip to content

Commit c23e71c

Browse files
committed
Fixes not contained in bb
Signed-off-by: Salil Chandra <schandra107@bloomberg.net>
1 parent 660c84a commit c23e71c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

cdb2api/cdb2api.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5411,6 +5411,8 @@ static int retry_queries(cdb2_hndl_tp *hndl, int num_retry, int run_last)
54115411
&hndl->num_hosts_sameroom, hndl->debug_trace, &hndl->s_sslmode);
54125412
cdb2__dbinforesponse__free_unpacked(dbinfo_response, NULL);
54135413
hndl->node_seq = 0;
5414+
bzero(hndl->hosts_connected, sizeof(hndl->hosts_connected));
5415+
hndl->connected_host = -1;
54145416
}
54155417
debugprint("type=%d returning 1\n", type);
54165418

@@ -6409,6 +6411,7 @@ static int cdb2_run_statement_typed_int(cdb2_hndl_tp *hndl, const char *sql, int
64096411

64106412
newsql_disconnect(hndl, hndl->sb, __LINE__);
64116413
hndl->node_seq = 0;
6414+
bzero(hndl->hosts_connected, sizeof(hndl->hosts_connected));
64126415
hndl->connected_host = -1;
64136416
hndl->retry_all = 1;
64146417
}

0 commit comments

Comments
 (0)