push
github
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)
63460 of 114770 branches covered (55.29%)
2 of 2 new or added lines in 1 file covered. (100.0%)
200 existing lines in 8 files now uncovered.94412 of 109662 relevant lines covered (86.09%)
1893610.86 hits per line