MDEV-7538: Wrong constraint (TINYINT or MEDIUMINT and INT)
causes server crash Analysis: If wrong data types used on foreign constraint there was possibility that foreign->id is NULL when incorrect foreign constraint was removed from the dictionary cache. Fix: Add guard foreign->id != NULL before trying to lookup or remove the foreign constraint from dictionary cache. Tested using user database where problem was repeatable.
Showing
Please register or sign in to comment