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

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

Build:
Build:
LAST BUILD BRANCH: datetime2fromparts_bugfix
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 20 May 2024 07:58AM UTC
Jobs 1
Files 114
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

20 May 2024 07:20AM UTC coverage: 72.788% (+0.001%) from 72.787%
9155067827

push

github

web-flow
Fix the logic of calculating the length of the named procedure to consider characters position instead of bytes (#2582)

Previously, string.length() method was being used to calculate the length of named procedure inside
makeExecuteProcedure. This method calculates length in terms of bytes. For example, length of
"ZERO WIDTH SPACE" with unicode point U+200B will be computed as 3 which was causing certain
assertion failure makeExecuteProcedure resulting in crash. But as far as parser and token's position
concerns, we should really care of character position instead of bytes position.

This commit aims to fix this issue by fixing logic of calculating the length of named procedure by using
getStartIndex() and getStopIndex() of the procedure token.

Task: BABEL-4961
Signed-off-by: Dipesh Dhameliya <dddhamel@amazon.com>

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

41834 of 57474 relevant lines covered (72.79%)

103158.69 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9155067827.1 20 May 2024 07:58AM UTC 114
72.79
GitHub Action Run
Source Files on build 9155067827
  • Tree
  • List 114
  • Changed 65
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #9155067827
  • e632b916 on github
  • Prev Build on BABEL_4_X_DEV (#9127066320)
  • Next Build on BABEL_4_X_DEV (#9174674985)
  • 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