box: check for foreign keys on space:truncate()
Add a missed check to on_replace_dd_truncate, similar to on_replace_dd_space and on_replace_dd_index. Closes #7309 NO_DOC=bugfix
Showing
- changelogs/unreleased/gh-7309-check-fkey-on-truncate.md 3 additions, 0 deletionschangelogs/unreleased/gh-7309-check-fkey-on-truncate.md
- src/box/alter.cc 23 additions, 18 deletionssrc/box/alter.cc
- test/engine-luatest/gh_7309_check_fkey_on_truncate_test.lua 57 additions, 0 deletionstest/engine-luatest/gh_7309_check_fkey_on_truncate_test.lua
Loading
Please register or sign in to comment