• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

babelfish-for-postgresql / babelfish_extensions / 11124174166
74%
BABEL_5_X_DEV: 77%

Build:
Build:
LAST BUILD BRANCH: fix_script_injection
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 01 Oct 2024 11:52AM UTC
Jobs 1
Files 114
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Oct 2024 11:15AM UTC coverage: 73.675% (+0.009%) from 73.666%
11124174166

push

github

web-flow
Reset db context at the time TDS resets the connection (#2978)

T-SQL Behaviour suggests that if we connect to database db1 and if during the session we have changed the database context to db2 then at the time of reset connection, the server must reset the connection to db1. Earlier we were not resetting the database context to that of the database used to login, in the above example db1, this lead to clients being handed a stale connection.
To Fix this we reset the database context to that from the loginInfo which was maintained at time of login. Changes were also made to avoid sending the environment change token for the implicit "USE DB" being run at time of reset.

Issues Resolved
BABEL-5256

Signed off by: Kushaal Shroff <kushaal@amazon.com>

61 of 62 new or added lines in 4 files covered. (98.39%)

42925 of 58263 relevant lines covered (73.67%)

142127.77 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
76.49
0.37% contrib/babelfishpg_tds/src/backend/tds/tdslogin.c
Jobs
ID Job ID Ran Files Coverage
1 11124174166.1 01 Oct 2024 11:52AM UTC 114
73.67
GitHub Action Run
Source Files on build 11124174166
  • Tree
  • List 114
  • Changed 68
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #11124174166
  • f76d0155 on github
  • Prev Build on BABEL_3_X_DEV (#11119416060)
  • Next Build on BABEL_3_X_DEV (#11128824445)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc