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

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

Build:
Build:
LAST BUILD BRANCH: BABEL-5577
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 21 Nov 2024 11:17AM 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

21 Nov 2024 10:28AM UTC coverage: 74.709% (-0.001%) from 74.71%
11951324660

push

github

web-flow
Fix handling of UPDATE command when RETURNING clause updates declared variables (#3028)

currently, Any variable being set as part of UPDATE...SET... command is being re-written using RETURNING clause. But there was an issue where any dynamic update on variable was not visible to subsequent statement execution. That issue is fixed with 6be12f1 and this commit aims to fix the same issue when dynamic variables are being updated as part of UPDATE...SET... command. In order to make variables updated dynamically, assignment statement is re-written using sys.pltsql_assign_var(dno, expr). For example,

SET @A+=expr, col=expr2

will be re-written to

SET col=expr2 ... RETURNING sys.pltsql_assign_var(dno, "@var" + cast((expr) as type))

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

18 of 34 new or added lines in 1 file covered. (52.94%)

2 existing lines in 1 file now uncovered.

45750 of 61238 relevant lines covered (74.71%)

161697.33 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
16
90.0
-0.28% contrib/babelfishpg_tsql/src/tsqlIface.cpp

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 11951324660.1 21 Nov 2024 11:17AM UTC 115
74.71
GitHub Action Run
Source Files on build 11951324660
  • Tree
  • List 115
  • Changed 72
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #11951324660
  • 038044a6 on github
  • Prev Build on BABEL_4_X_DEV (#11914680412)
  • Next Build on BABEL_4_X_DEV (#11968528338)
  • 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