Re: [Maria-developers] 93493a0e9b5: MDEV-24176 Server crashes after insert in the table with virtual column generated using date_format() and if()

2022-04-13 Thread Aleksey Midenkov
Hi Sergei, On Wed, Apr 13, 2022 at 8:18 PM Sergei Golubchik wrote: > > Hi, Aleksey, > > On Apr 12, Aleksey Midenkov wrote: > > > > > > +bool Vcol_expr_context::init() > > > > > > +{ > > > > > > + /* > > > > > > + As this is vcol expression we must narrow down name > > > > > > resolution to

Re: [Maria-developers] 93493a0e9b5: MDEV-24176 Server crashes after insert in the table with virtual column generated using date_format() and if()

2022-04-13 Thread Sergei Golubchik
Hi, Aleksey, On Apr 12, Aleksey Midenkov wrote: > > > > > +bool Vcol_expr_context::init() > > > > > +{ > > > > > + /* > > > > > + As this is vcol expression we must narrow down name resolution > > > > > to > > > > > + single table. > > > > > + */ > > > > > + if (init_lex_with_single_