Merge branch '10.11 into 11.4

This commit is contained in:
Sergei Golubchik 2025-01-30 11:59:53 +01:00
commit 7d657fda64
344 changed files with 9064 additions and 2397 deletions

View file

@ -2372,6 +2372,7 @@ public:
virtual bool check_partition_func_processor(void *arg) { return true; }
virtual bool post_fix_fields_part_expr_processor(void *arg) { return 0; }
virtual bool rename_fields_processor(void *arg) { return 0; }
virtual bool rename_table_processor(void *arg) { return 0; }
/*
TRUE if the function is knowingly TRUE or FALSE.
Not to be used for AND/OR formulas.
@ -2400,6 +2401,13 @@ public:
LEX_CSTRING table_name;
List<Create_field> fields;
};
struct func_processor_rename_table
{
Lex_ident_db old_db;
Lex_ident_table old_table;
Lex_ident_db new_db;
Lex_ident_table new_table;
};
virtual bool check_vcol_func_processor(void *arg)
{
return mark_unsupported_function(full_name(), arg, VCOL_IMPOSSIBLE);
@ -3270,8 +3278,9 @@ public:
bool append_for_log(THD *thd, String *str) override;
Item *do_get_copy(THD *) const override { return nullptr; }
Item *do_build_clone(THD *thd) const override { return nullptr; }
Item *do_get_copy(THD *thd) const override
{ return get_item_copy<Item_splocal>(thd, this); }
Item *do_build_clone(THD *thd) const override { return get_copy(thd); }
/*
Override the inherited create_field_for_create_select(),
@ -3862,6 +3871,7 @@ public:
bool switch_to_nullable_fields_processor(void *arg) override;
bool update_vcol_processor(void *arg) override;
bool rename_fields_processor(void *arg) override;
bool rename_table_processor(void *arg) override;
bool check_vcol_func_processor(void *arg) override;
bool set_fields_as_dependent_processor(void *arg) override
{