sql: fix another cursor invalidation
This patch fixes the issue described in issue #5310 when the tuple format has more fields than the space format. This solution is more general than the solution in 89057a21. Follow-up #5310 Closes #4666 NO_DOC=bugfix
Showing
- changelogs/unreleased/gh-5310-fix-cursor-invalidation.md 1 addition, 1 deletionchangelogs/unreleased/gh-5310-fix-cursor-invalidation.md
- src/box/ck_constraint.c 1 addition, 0 deletionssrc/box/ck_constraint.c
- src/box/sql.c 15 additions, 14 deletionssrc/box/sql.c
- src/box/sql.h 10 additions, 4 deletionssrc/box/sql.h
- src/box/sql/func.c 1 addition, 0 deletionssrc/box/sql/func.c
- src/box/sql/vdbe.c 1 addition, 0 deletionssrc/box/sql/vdbe.c
- test/sql-luatest/gh_5310_cursor_invalidation_test.lua 18 additions, 1 deletiontest/sql-luatest/gh_5310_cursor_invalidation_test.lua
Loading