Bug #41437: Value stored in 'case' lacks charset, causes segfault
When substituting system constant functions with a constant result the server was not expecting that the function may return NULL. Fixed by checking for NULL and returning Item_null (in the relevant collation) if the result of the system constant function was NULL.
Showing
Please register or sign in to comment