Skip to content

Commit

Permalink
Unblock test cases blocked due to BABEL-4539 (babelfish-for-postgresq…
Browse files Browse the repository at this point in the history
…l#2047)

With engine changes babelfish-for-postgresql/postgresql_modified_for_babelfish#260, we introduced new field in Port data structure to track whether given backend is Babelfish backend or not. This commit changes extension part of code to initialise it properly. Additionally, it also unblocks test cases blocked due to BABEL-4539.

Engine changes: babelfish-for-postgresql/postgresql_modified_for_babelfish#260
Task: BABEL-4539
Signed-off-by: Dipesh Dhameliya <[email protected]>
  • Loading branch information
Deepesh125 authored and Jason Teng committed Dec 24, 2023
1 parent 12c465f commit 531904a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions contrib/babelfishpg_tds/src/backend/tds/tds_srv.c
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ pe_authenticate(Port *port, const char **username)
ClientAuthInProgress = false; /* client_min_messages is active now */

*username = port->user_name;
port->is_tds_conn = true;
}

static void
Expand Down
5 changes: 0 additions & 5 deletions test/JDBC/parallel_query_jdbc_schedule
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,6 @@ ignore#!#BABEL-ROLE-MEMBER
# current_setting('role') returns NULL.
ignore#!#BABEL-1444

# ERROR CODE DIFFERENCE. JIRA-4539
ignore#!#babel_datetime-vu-verify
ignore#!#babel_datetime
ignore#!#BABEL-2812-vu-verify

# Test failures caused by babel_extra_join_test_cases_northwind failure
ignore#!#babelfish_sysdatabases-vu-prepare
ignore#!#babelfish_sysdatabases-vu-verify
Expand Down

0 comments on commit 531904a

Please sign in to comment.