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

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

Build:
Build:
LAST BUILD BRANCH: datetime2fromparts_bugfix
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 18 Oct 2025 06:20PM 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

18 Oct 2025 05:54PM UTC coverage: 76.368% (+0.001%) from 76.367%
18619016169

push

github

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

* 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%)

51551 of 67503 relevant lines covered (76.37%)

379885.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 18619016169.1 18 Oct 2025 06:20PM UTC 121
76.37
GitHub Action Run
Source Files on build 18619016169
  • Tree
  • List 121
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18619016169
  • 491ddcb2 on github
  • Prev Build on BABEL_5_4_STABLE (#18617786969)
  • Next Build on BABEL_5_4_STABLE (#18708299628)
  • 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