diff options
author | Sergei Golubchik <serg@mariadb.org> | 2016-11-24 16:07:19 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2016-12-12 20:27:35 +0100 |
commit | c2b2cb8acd7fd8b84f5929f9c7b52961973c9b9f (patch) | |
tree | c7dd1a67a55217115831d74cffcfafee028169ec /sql/item.h | |
parent | 2cdcf141f516b0fd0c1edaccd2f5047a488a9c9d (diff) | |
download | mariadb-git-c2b2cb8acd7fd8b84f5929f9c7b52961973c9b9f.tar.gz |
TABLE::update_virtual_field to compute just one vcol
will be used later by storage engines (e.g. in MyISAM repair or in
InnoDB purge)
Diffstat (limited to 'sql/item.h')
-rw-r--r-- | sql/item.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/item.h b/sql/item.h index 556a03076c8..5129d8bfe85 100644 --- a/sql/item.h +++ b/sql/item.h @@ -1635,6 +1635,7 @@ public: timezone-dependent expressions in a (sub)partitioning function. */ virtual bool check_valid_arguments_processor(void *arg) { return 0; } + virtual bool update_vcol_processor(void *arg) { return 0; } /*============== End of Item processor list ======================*/ virtual Item *get_copy(THD *thd, MEM_ROOT *mem_root)=0; @@ -2580,6 +2581,7 @@ public: bool enumerate_field_refs_processor(void *arg); bool update_table_bitmaps_processor(void *arg); bool switch_to_nullable_fields_processor(void *arg); + bool update_vcol_processor(void *arg); bool check_vcol_func_processor(void *arg) { return mark_unsupported_function(field_name, arg, VCOL_FIELD_REF); @@ -5091,6 +5093,7 @@ public: } table_map used_tables() const { return (table_map)0L; } Item_field *field_for_view_update() { return 0; } + bool update_vcol_processor(void *arg) { return 0; } bool walk(Item_processor processor, bool walk_subquery, void *args) { @@ -5170,6 +5173,7 @@ public: (this->*processor)(args); } bool check_partition_func_processor(void *int_arg) {return TRUE;} + bool update_vcol_processor(void *arg) { return 0; } bool check_vcol_func_processor(void *arg) { return mark_unsupported_function("values()", arg, VCOL_IMPOSSIBLE); |