MDEV-5717: Server crash with insert statement containing DEFAULT into view
Item_default_value::arg can be NULL so walk() should take it into consideration.
This commit is contained in:
parent
5f5d2db141
commit
cd29dc9821
@ -2890,7 +2890,7 @@ public:
|
||||
|
||||
bool walk(Item_processor processor, bool walk_subquery, uchar *args)
|
||||
{
|
||||
return arg->walk(processor, walk_subquery, args) ||
|
||||
return (arg && arg->walk(processor, walk_subquery, args)) ||
|
||||
(this->*processor)(args);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user