sql: fix assertion in case FK or CK declared first
This patch fixes an assertion or segmentation error if a FOREIGN KEY or CHECK constraint is declared before the first column. Closes #8392 NO_DOC=bugfix
Showing
- changelogs/unreleased/gh-8392-segfault-on-first-constraint.md 4 additions, 0 deletions...gelogs/unreleased/gh-8392-segfault-on-first-constraint.md
- src/box/sql/build.c 4 additions, 0 deletionssrc/box/sql/build.c
- test/sql-luatest/constraint_test.lua 24 additions, 0 deletionstest/sql-luatest/constraint_test.lua
Loading
Please register or sign in to comment