diff options
author | Alexander Barkov <bar@mariadb.com> | 2020-08-11 12:35:19 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2020-08-11 12:35:19 +0400 |
commit | 6a7e646df339a0bf915548c500c99720af4976b3 (patch) | |
tree | 8fadd4b51c23652363135650a4a9e531b2cd8cbe /Docs | |
parent | 0718b8ecbf3be2351e65e63a5e21cd1db24355e1 (diff) | |
download | mariadb-git-6a7e646df339a0bf915548c500c99720af4976b3.tar.gz |
MDEV-23054 Assertion `!item->null_value' failed in Type_handler_inet6::make_sort_key_part (#2)
IFNULL(inet6_not_null_expr, 'foo') erroneously set its nullability to NOT NULL.
Fix:
- Moving the line "maybe_null= args[1]->maybe_null" before the call
of fix_length_and_dec2(), so the call of Type_handler method
Item_hybrid_func_fix_attributes() can reset it when desired.
- Fixing Type_handler_inet6::Item_hybrid_func_fix_attributes()
to ignore args[0] when detecting nullability of IFNULL().
Diffstat (limited to 'Docs')
0 files changed, 0 insertions, 0 deletions