diff options
author | Alexander Barkov <bar@mariadb.com> | 2019-09-18 09:51:13 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2019-09-18 09:51:13 +0400 |
commit | bf617c36540de99cc3597d339ff80dcf69377ece (patch) | |
tree | 69727a3515210281704ab6c8a237dadde5de7a20 /sql/item_timefunc.h | |
parent | efefafd02f72b3d56f82a29a9fa4a100932d55c0 (diff) | |
download | mariadb-git-bf617c36540de99cc3597d339ff80dcf69377ece.tar.gz |
MDEV-20423 Assertion `0' failed or `btr_validate_index(index, 0, false)' in row_upd_sec_index_entry or error code 126: Index is corrupted upon DELETE with TIME_ROUND_FRACTIONAL
Diffstat (limited to 'sql/item_timefunc.h')
-rw-r--r-- | sql/item_timefunc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/item_timefunc.h b/sql/item_timefunc.h index 987bd1c8595..2e9454804ae 100644 --- a/sql/item_timefunc.h +++ b/sql/item_timefunc.h @@ -1162,6 +1162,7 @@ public: return args[0]->type_handler()-> Item_time_typecast_fix_length_and_dec(this); } + Sql_mode_dependency value_depends_on_sql_mode() const; Item *get_copy(THD *thd) { return get_item_copy<Item_time_typecast>(thd, this); } }; @@ -1183,6 +1184,7 @@ public: return args[0]->type_handler()-> Item_datetime_typecast_fix_length_and_dec(this); } + Sql_mode_dependency value_depends_on_sql_mode() const; Item *get_copy(THD *thd) { return get_item_copy<Item_datetime_typecast>(thd, this); } }; |