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

babelfish-for-postgresql / babelfish_extensions / 21318349772 / 1
74%
BABEL_5_X_DEV: 77%

Build:
Build:
LAST BUILD BRANCH: BABEL_4_9_STABLE
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 24 Jan 2026 05:20PM UTC
Files 115
Run time 3s
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

24 Jan 2026 04:50PM UTC coverage: 74.177% (+0.004%) from 74.173%
21318349772.1

push

github

web-flow
BCP fix done token spanning packet boundaries (#4492)

* BCP fix done token spanning packet boundaries (#4478)

Problem: When DONE token (13 bytes) was split across TDS packet boundaries, only the first byte (0xFD) would be checked, causing the remaining bytes in the next packet to be misinterpreted.
Actually we have always seen that done token gets truncated to fit in available space, I can see in some cases the done token is only 8 bytes at the end of the message - packet marked with EOM. If we're at EOM with incomplete DONE token, that's actually acceptable.

Solution:

Check if DONE token is present
Only fetch additional bytes if NOT at EOM and buffer has < 13 bytes
Accept incomplete DONE tokens at EOM (handles truncated tokens from optimizing clients)

JIRA: BABEL-6317

Signed-off-by: Rohit Bhagat <rohitbgt@amazon.com>
Co-authored-by: Kushaal Shroff <51415286+KushaalShroff@users.noreply.github.com>

43961 of 59265 relevant lines covered (74.18%)

276886.28 hits per line

Source Files on job 21318349772.1
  • Tree
  • List 115
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 21318349772
  • a2e6ed68 on github
  • Prev Job for on BABEL_3_X_DEV (#21282540106.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