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

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

Build:
Build:
LAST BUILD BRANCH: fix_script_injection
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 26 Nov 2024 06:33PM 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

26 Nov 2024 05:59PM UTC coverage: 73.68% (-0.1%) from 73.807%
12036365292

push

github

web-flow
Fix resetting some GUCs at the time of TDSResetConnection (#3163)

Some GUCs had an issue with being reset at time of TDSResetConnection:

1. Explain GUCs, they were not getting setting reset after TDSResetConnection. To fix this we need to reset it at time TDSResetConnection AND also at time of sys.sp_reset_connection execution(which would otherwise have given explain output).
2. ANSI_DEFAULTS and IMPLICIT_TRANSACTION related GUCs. These were getting set when driver sends some TDS flags. But after ResetConnection they were being rolled-back. To avoid this we implement TdsResetLoginFlags a wrapper to Re-ProcessLoginFlags.
3. We restrict the setting and re-setting of important GUCs like "babelfishpg_tsql.migration_mode" and "role", since once set, cannot be reset.

Issues Resolved:
BABEL-5280, BABEL-5276, BABEL-5278

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

12 of 12 new or added lines in 5 files covered. (100.0%)

77 existing lines in 3 files now uncovered.

43085 of 58476 relevant lines covered (73.68%)

142215.77 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
83.24
-0.05% contrib/babelfishpg_tsql/src/hooks.c
14
88.86
-0.33% contrib/babelfishpg_tsql/src/tsqlIface.cpp
62
3.03
-93.94% contrib/babelfishpg_common/src/spatialtypes.c
Jobs
ID Job ID Ran Files Coverage
1 12036365292.1 26 Nov 2024 06:33PM UTC 114
73.68
GitHub Action Run
Source Files on build 12036365292
  • Tree
  • List 114
  • Changed 81
  • Source Changed 5
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12036365292
  • d9808b9d on github
  • Prev Build on BABEL_3_X_DEV (#12030436747)
  • Next Build on BABEL_3_X_DEV (#12050291165)
  • 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