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

babelfish-for-postgresql / babelfish_extensions / 18595036979 / 1
76%
BABEL_5_X_DEV: 77%

Build:
Build:
LAST BUILD BRANCH: sauravay-dev
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 17 Oct 2025 02:28PM UTC
Files 120
Run time 5s
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 02:01PM UTC coverage: 76.14% (+0.001%) from 76.139%
18595036979.1

push

github

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

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

---------

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

50266 of 66018 relevant lines covered (76.14%)

386105.34 hits per line

Source Files on job 18595036979.1
  • Tree
  • List 120
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 18595036979
  • cabebc72 on github
  • Prev Job for on BABEL_4_X_DEV (#18576834072.1)
  • Next Job for on BABEL_4_X_DEV (#18602690637.1)
  • 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

© 2026 Coveralls, Inc