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

babelfish-for-postgresql / babelfish_extensions / 18590213208
77%

Build:
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 17 Oct 2025 11:03AM UTC
Jobs 1
Files 121
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

17 Oct 2025 10:38AM UTC coverage: 76.639% (-0.002%) from 76.641%
18590213208

push

github

web-flow
Fixing fluctuating errors and crash during self assignment of parameters. (#4190)

Problem: Previously, during variable self-assignment (e.g., SELECT @var = @var), Babelfish reused the same Datum reference for both source and target without creating a copy. This caused memory corruption, use-after-free errors, and crashes due to unsafe sharing across memory contexts.

Root Cause: The source and target pointed to the same memory location, which could be invalidated by context switches or garbage collection.

Solution: Introduced safe duplication using datumCopy() to ensure each variable has its own memory allocation in the correct context (estate->datum_context). This preserves data integrity and prevents invalid memory access.

Issues Resolved
BABEL-6119, BABEL-5947

Signed-off-by: Tanya Gupta <tanyagp@amazon.com>
Co-authored-by: Tanya Gupta <tanyagp@amazon.com>

3 of 3 new or added lines in 1 file covered. (100.0%)

2 existing lines in 1 file now uncovered.

51732 of 67501 relevant lines covered (76.64%)

379302.59 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
76.23
-0.62% contrib/babelfishpg_tds/src/backend/tds/tdscomm.c
Jobs
ID Job ID Ran Files Coverage
1 18590213208.1 17 Oct 2025 11:03AM UTC 121
76.64
GitHub Action Run
Source Files on build 18590213208
  • Tree
  • List 121
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18590213208
  • 3b18d2df on github
  • Prev Build on BABEL_5_X_DEV (#18562751231)
  • Next Build on BABEL_5_X_DEV (#18602674720)
  • 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