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

babelfish-for-postgresql / babelfish_extensions / 11069395828
76%
BABEL_5_X_DEV: 77%

Build:
Build:
LAST BUILD BRANCH: fix_script_injection
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 27 Sep 2024 11:50AM UTC
Jobs 1
Files 115
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

27 Sep 2024 10:58AM UTC coverage: 74.449% (-0.02%) from 74.467%
11069395828

push

github

web-flow
Fix issue with sp_tables failing for cross-database table qualifiers (#2961)

This change fixes an issue with the sp_tables stored procedure, which incorrectly handled three-part object names across databases, throwing an error regarding database context. The root cause was sys.db_name() returning the wrong database name based on the object qualifier.

The issue affected the usability of linked servers in Babelfish, as it prevented accurate metadata retrieval, limiting compatibility with SQL Server.

The fix replaced sys.db_name() with a direct SELECT sys.db_name() to fetch the correct database name before comparing it against the table_qualifier.

Task: BABEL-5263

Signed-off-by: Roshan Kanwar <rskanwar@amazon.com>

44935 of 60357 relevant lines covered (74.45%)

167260.83 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
4
90.19
-0.0% contrib/babelfishpg_tsql/src/pl_handler.c
236
83.68
-0.55% contrib/babelfishpg_tsql/src/hooks.c
Jobs
ID Job ID Ran Files Coverage
1 11069395828.1 27 Sep 2024 11:50AM UTC 115
74.45
GitHub Action Run
Source Files on build 11069395828
  • Tree
  • List 115
  • Changed 71
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #11069395828
  • ba6df879 on github
  • Prev Build on BABEL_4_X_DEV (#11056607399)
  • Next Build on BABEL_4_X_DEV (#11069668251)
  • 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