diff options
author | Aleksey Midenkov <midenok@gmail.com> | 2022-04-18 12:44:27 +0300 |
---|---|---|
committer | Aleksey Midenkov <midenok@gmail.com> | 2022-04-18 12:44:27 +0300 |
commit | c02ebf3510850ba78a106be9974c94c3b97d8585 (patch) | |
tree | 4a4669978f9488c9e2a2044649b496b274cfbfef /sql/field.h | |
parent | 7498978e6af867c3351f8a1392a0de66d2dfae24 (diff) | |
download | mariadb-git-c02ebf3510850ba78a106be9974c94c3b97d8585.tar.gz |
MDEV-24176 Preparations
1. moved fix_vcol_exprs() call to open_table()
mysql_alter_table() doesn't do lock_tables() so it cannot win from
fix_vcol_exprs() from there. Tests affected: main.default_session
2. Vanilla cleanups and comments.
Diffstat (limited to 'sql/field.h')
-rw-r--r-- | sql/field.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/field.h b/sql/field.h index 36cd2461f13..b4ea6da01a7 100644 --- a/sql/field.h +++ b/sql/field.h @@ -616,6 +616,10 @@ public: { in_partitioning_expr= TRUE; } + bool fix_expr(THD *thd); + bool fix_session_expr(THD *thd); + bool fix_session_expr_for_read(THD *thd, Field *field); + bool fix_and_check_expr(THD *thd, TABLE *table); inline bool is_equal(const Virtual_column_info* vcol) const; inline void print(String*); }; |