Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-ext-simba-hx committed Aug 1, 2024
1 parent 07dbcf5 commit 287ab6a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/test_multiple_statements.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,16 @@ void test_multi_stmt_with_large_result(void **unused)
{
const int rownum = 100000;
SF_CONNECT *sf = setup_snowflake_connection();

#ifdef __APPLE__
char *githubenv = getenv("GITHUB_ACTIONS");
if (githubenv && strlen(githubenv) > 0)
{
sf_bool insecure_mode = SF_BOOLEAN_TRUE;
snowflake_set_attribute(sf, SF_CON_INSECURE_MODE, &insecure_mode);
}
#endif

SF_STATUS status = snowflake_connect(sf);
if (status != SF_STATUS_SUCCESS) {
dump_error(&(sf->error));
Expand Down

0 comments on commit 287ab6a

Please sign in to comment.