Skip to content

Conversation

@chands10
Copy link
Contributor

To help us review your pull request, please consider providing an overview of the following:

  • What is the type of the change (bug fix, feature, documentation and etc.) ?
  • What are the current behavior and expected behavior, if this is a bugfix ?
  • What are the steps required to reproduce the bug, if this is a bugfix ?
  • What is the current behavior and new behavior, if this is a feature change or enhancement ?
  • [Optional] Why is the new behavior better than the current behavior, if this is a feature change ?

@chands10 chands10 force-pushed the h branch 3 times, most recently from f98bcfb to 7832f20 Compare January 22, 2026 16:40
Copy link

@roborivers roborivers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coding style check: Success ✓.
Cbuild submission: Success ✓.
Regression testing: 0/0 tests failed ⚠.

Signed-off-by: Salil Chandra <schandra107@bloomberg.net>
sqlquery.bindvars = bindvars;
sqlquery.n_types = ntypes;
sqlquery.types = types;
sqlquery.types = (int *)types; // TODO: Is this ok? bb is able to assign without casting
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

types is const int *, sqlquery.types is expecting int *

Copy link
Contributor Author

@chands10 chands10 Jan 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Getting error in open trying to compile without casting, warning in bb but we ignore

Copy link

@roborivers roborivers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coding style check: Success ✓.
Cbuild submission: Success ✓.
Regression testing: Success ✓.

The first 10 failing tests are:
insert_lots
incoh_remsql
incoh_remsql_rte_connect_generated

int retries_done, int do_append, int fromline)
static int cdb2_send_query(cdb2_hndl_tp *hndl, cdb2_hndl_tp *event_hndl, SBUF2 *sb, const char *dbname, const char *sql,
int n_set_commands, int n_set_commands_sent, char **set_commands, int n_bindvars,
CDB2SQLQUERY__Bindvalue **bindvars, int ntypes, const int *types, int is_begin,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(make types const)

@chands10
Copy link
Contributor Author

cdb2test Jan 22 13:01:50 2026 success h.R20260122.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants