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

babelfish-for-postgresql / babelfish_extensions / 12395755914
77%

Build:
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 18 Dec 2024 03:41PM 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

18 Dec 2024 03:08PM UTC coverage: 74.823% (-0.002%) from 74.825%
12395755914

push

github

web-flow
Fix the incorrect string limit when declaring nvarchar(max) (#3271)

Previously, the limit on the max length of NVARCHAR(Max) was 4000, longer characters will be truncated. But NVARCHAR(MAX) should be capable of handling strings far longer than 4,000 characters. This pr change the limit to default INT_MAX rather than 4000 to fix this issue, and add test cases to verify.

The issue is the typemod for nvarchar(max) in AS JSON queries is set as 4000, which limits the query length, the solution is to remove the code setting 4000 and recover typemod from TSQLMaxTypmod to -1 in tds client.

Task:BABEL-5054
Signed-off-by: Chenxiao Wang <chxwang@amazon.com>

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

2 existing lines in 1 file now uncovered.

46476 of 62115 relevant lines covered (74.82%)

163928.04 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
76.03
-0.63% contrib/babelfishpg_tds/src/backend/tds/tdscomm.c
Jobs
ID Job ID Ran Files Coverage
1 12395755914.1 18 Dec 2024 03:41PM UTC 115
74.82
GitHub Action Run
Source Files on build 12395755914
  • Tree
  • List 115
  • Changed 71
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12395755914
  • e040c57f on github
  • Prev Build on BABEL_5_X_DEV (#12394595801)
  • Next Build on BABEL_5_X_DEV (#12409398373)
  • 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