diff options
author | Alexander Barkov <bar@mariadb.com> | 2019-09-13 11:04:23 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2019-09-13 11:47:43 +0400 |
commit | c924e39fab54ed63a427c27d39778eacd961764b (patch) | |
tree | 35f8f4bba60407a93b5e546a18fc11e2bc448aa5 /sql/sql_mode.h | |
parent | 368e64aaedfd18e9cc685140a898321f9977b425 (diff) | |
download | mariadb-git-c924e39fab54ed63a427c27d39778eacd961764b.tar.gz |
MDEV-18153 Assertion `0' or Assertion `btr_validate_index(index, 0)' failed in row_upd_sec_index_entry or error code 126: Index is corrupted upon UPDATE with TIME_ROUND_FRACTIONAL
Conversion to a temporal data type resulting into a lower precision
depends on TIME_ROUND_FRACTIONAL. Taking into account this dependency in:
- indexed generated virtual column expressions
- persistent virtual column expressions
A warning is now issued if conversion from the generation expression
to the column data type depends on TIME_ROUND_FRACTIONAL.
The warning will be changed to error in 10.5
Diffstat (limited to 'sql/sql_mode.h')
-rw-r--r-- | sql/sql_mode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_mode.h b/sql/sql_mode.h index e92848fb6d1..fb2b7cefa0a 100644 --- a/sql/sql_mode.h +++ b/sql/sql_mode.h @@ -155,7 +155,7 @@ public: m_soft= 0; return *this; } - void push_dependency_warnings(THD *thd); + void push_dependency_warnings(THD *thd) const; }; |