diff options
Diffstat (limited to 'sql/field.h')
-rw-r--r-- | sql/field.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/field.h b/sql/field.h index e86cf80e1fe..4c503ab2f97 100644 --- a/sql/field.h +++ b/sql/field.h @@ -5726,6 +5726,12 @@ public: } /* Used to make a clone of this object for ALTER/CREATE TABLE */ Create_field *clone(MEM_ROOT *mem_root) const; + static void upgrade_data_types(List<Create_field> &list) + { + List_iterator<Create_field> it(list); + while (Create_field *f= it++) + f->type_handler()->Column_definition_implicit_upgrade(f); + } }; |