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

tarantool / tarantool / 13507824201

24 Feb 2025 09:06PM UTC coverage: 87.468% (+0.05%) from 87.419%
13507824201

push

github

Gerold103
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

69840 of 123295 branches covered (56.64%)

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

191 existing lines in 13 files now uncovered.

102925 of 117671 relevant lines covered (87.47%)

2198506.73 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