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

tarantool / tarantool / 13538791279

26 Feb 2025 07:35AM UTC coverage: 87.449% (+0.03%) from 87.418%
13538791279

push

github

locker
sql: fix port_c_get_vdbemem() MP_INT usage

The function is used to build a mem from msgpack returned by a C
function via port_c. To use in some operation, like a comparison
or arithmetics.

It used to treat MP_INT as an always negative value, which
could result into those operations having invalid results or even
failing assertions in debug build.

Lets check the MP_INT sign before assigning the mem type.

Closes #10132

NO_DOC=bugfix

(cherry picked from commit 0c7469bb0)

69844 of 123713 branches covered (56.46%)

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

199 existing lines in 19 files now uncovered.

102865 of 117629 relevant lines covered (87.45%)

2167928.97 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

78.46
/src/box/sql/vdbeapi.c


Source Not Available

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