maria-developers team mailing list archive
-
maria-developers team
-
Mailing list archive
-
Message #12342
Re: 7311586ca25: MDEV-15703 Crash in EXECUTE IMMEDIATE 'CREATE OR REPLACE TABLE t1 (a INT DEFAULT ?)' USING DEFAULT
Hi, Oleksandr!
On Jul 29, Oleksandr Byelkin wrote:
> > > @@ -3930,13 +3930,19 @@ int Item_param::save_in_field(Field *field, bool no_conversions)
> > > case NULL_VALUE:
> > > return set_field_to_null_with_conversions(field, no_conversions);
> > > case DEFAULT_VALUE:
> > > - return field->save_in_field_default_value(field->table->pos_in_table_list->
> > > + return field->save_in_field_default_value((field->table &&
> > > + field->table->pos_in_table_list)?
> >
> > in what case can field->table be NULL here?
>
> probably impossible (I thought it is for fake fields in SP, but it looks
> like they have fake table also)
revert the change, then?
Regards,
Sergei
VP of MariaDB Server Engineering
and security@xxxxxxxxxxx
References