sql: fix cursor invalidation
If the length of the tuple is greater than the number of fields in the format, it is possible that the cursor in the VDBE will be overridden with zeros. Closes #5310 NO_DOC=bugfix
Showing
- changelogs/unreleased/gh-5310-fix-cursor-invalidation.md 4 additions, 0 deletionschangelogs/unreleased/gh-5310-fix-cursor-invalidation.md
- src/box/sql.c 8 additions, 1 deletionsrc/box/sql.c
- test/sql-luatest/gh_5310_cursor_invalidation_test.lua 24 additions, 0 deletionstest/sql-luatest/gh_5310_cursor_invalidation_test.lua
Loading