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

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

Build:
Build:
LAST BUILD BRANCH: datetime2fromparts_bugfix
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 23 Sep 2024 12:56PM 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

23 Sep 2024 12:05PM UTC coverage: 74.463% (+0.001%) from 74.462%
10993868188

push

github

web-flow
Fix valgrind warning in bbf_create_partition_tables function (#2954)

* Fix valgrind warning in bbf_create_partition_tables function

During the creation of a partitioned table using a partition scheme, the range values array was extracted from the catalog, and the array values were deconstructed into datums using the deconstruct_array function. However, the catalog was closed before processing the datums returned by deconstruct_array. If the datatype of the array elements is pass-by-ref, the returned datums are pointers to the array object, which can lead to an invalid read after closing the catalog.

This commit fixes the issue by keeping the catalog open until all the processing of the datums returned by deconstruct_array is complete in bbf_create_partition_tables and search_partition functions.

Signed-off-by: Sumit Jaiswal sumiji@amazon.com

Issues Resolved
Task: BABEL-5213

6 of 6 new or added lines in 2 files covered. (100.0%)

44974 of 60398 relevant lines covered (74.46%)

162756.71 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10993868188.1 23 Sep 2024 12:56PM UTC 115
74.46
GitHub Action Run
Source Files on build 10993868188
  • Tree
  • List 115
  • Changed 39
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #10993868188
  • 8c3c2a9a on github
  • Prev Build on BABEL_4_X_DEV (#10991376383)
  • Next Build on BABEL_4_X_DEV (#10996030534)
  • 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