sql: remove grants associated with the table
Dropping table with sql removes everything associated with it but grants, which is inconsistent. Generating code for it fixes this bug. Closes #4546
Showing
- src/box/sql/build.c 46 additions, 0 deletionssrc/box/sql/build.c
- src/box/user.cc 7 additions, 0 deletionssrc/box/user.cc
- src/box/user.h 4 additions, 0 deletionssrc/box/user.h
- test/sql/gh-4546-sql-drop-grants.result 38 additions, 0 deletionstest/sql/gh-4546-sql-drop-grants.result
- test/sql/gh-4546-sql-drop-grants.test.lua 19 additions, 0 deletionstest/sql/gh-4546-sql-drop-grants.test.lua
Loading
Please register or sign in to comment