diff options
author | Sergei Golubchik <serg@mariadb.org> | 2022-07-29 15:39:57 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2022-08-02 18:08:40 +0200 |
commit | 56c7d142174e9fa86c829340f6a513b116749677 (patch) | |
tree | f900c3c96032dd880a4f17bec90f035d2c098e82 /sql/field.cc | |
parent | b174ec169dfd6e3357f28570432093192963cfc4 (diff) | |
download | mariadb-git-56c7d142174e9fa86c829340f6a513b116749677.tar.gz |
MDEV-29075 Changing explicit_defaults_for_timestamp within stored procedure works inconsistently
Diffstat (limited to 'sql/field.cc')
-rw-r--r-- | sql/field.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/field.cc b/sql/field.cc index f3a89a653e4..3d6eaba6f73 100644 --- a/sql/field.cc +++ b/sql/field.cc @@ -10801,6 +10801,7 @@ Column_definition::Column_definition(THD *thd, Field *old_field, comment= old_field->comment; vcol_info= old_field->vcol_info; option_list= old_field->option_list; + explicitly_nullable= !(old_field->flags & NOT_NULL_FLAG); compression_method_ptr= 0; versioning= VERSIONING_NOT_SET; invisible= old_field->invisible; |