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

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

Build:
Build:
LAST BUILD BRANCH: babel-6276-3x
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 20 May 2024 07:58AM UTC
Files 114
Run time 4s
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.1

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>

41834 of 57474 relevant lines covered (72.79%)

103158.69 hits per line

Source Files on job 9155067827.1
  • Tree
  • List 114
  • Changed 65
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 9155067827
  • e632b916 on github
  • Prev Job for on BABEL_4_X_DEV (#9127066320.1)
  • Next Job for on BABEL_4_X_DEV (#9174674985.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