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

babelfish-for-postgresql / babelfish_extensions / 11071513733
74%
BABEL_5_X_DEV: 77%

Build:
Build:
LAST BUILD BRANCH: BABEL-5577
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 27 Sep 2024 02:12PM 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

27 Sep 2024 01:25PM UTC coverage: 73.688% (+0.003%) from 73.685%
11071513733

push

github

web-flow
Fix protocol violation in USE DB when database name contains multibyte characters (#2982)

When database name contains a character which is multi byte encoded in UTF8 then USE DB with that database name throws protocol error in SQLCMD.
```
-- SQL CMD connection
1> CREATE DATABASE ["龙漫远; 龍漫😃😄漫遠.¢£€¥"]
2> go
1> USE ["龙漫远; 龍漫😃😄漫遠.¢£€¥"]
2> go
SqlState HY000, Protocol error in TDS stream.
```
This does not show up in our JDBC framework since we ignore such notice message and do not flush it to output file.

Length of string in TDS stream should be in UTF-16 characters length and not number of bytes.
Hence replaced strlen() with UTF16 number of chars.


Task: BABEL-5153

Signed-off-by: Tanzeel Khan <tzlkhan@amazon.com>

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

42821 of 58111 relevant lines covered (73.69%)

146484.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11071513733.1 27 Sep 2024 02:12PM UTC 114
73.69
GitHub Action Run
Source Files on build 11071513733
  • Tree
  • List 114
  • Changed 65
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #11071513733
  • bcfeab77 on github
  • Prev Build on BABEL_3_X_DEV (#11070088791)
  • Next Build on BABEL_3_X_DEV (#11071814946)
  • 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