1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-29074 GET_BIT variables crash in SET STATEMENT

This commit is contained in:
Sergei Golubchik
2022-07-18 13:38:27 +02:00
parent 0ee5cf837e
commit bc4098582b
3 changed files with 23 additions and 0 deletions

View File

@ -3313,6 +3313,7 @@ bool run_set_statement_if_requested(THD *thd, LEX *lex)
{
switch (v->var->option.var_type & GET_TYPE_MASK)
{
case GET_BIT:
case GET_BOOL:
case GET_INT:
case GET_LONG: