diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2018-11-09 22:55:34 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2018-11-09 22:55:34 +0400 |
commit | 5cfb043d2919439fccfa350edd9a3fdb4aaf229b (patch) | |
tree | 221c2f15e5dfc32ad02b4731fadea3df4fbb8022 /sql/item_jsonfunc.cc | |
parent | f5bcf788e76c2cb5da5ddecdb6ff9b2f766b1a49 (diff) | |
download | mariadb-git-5cfb043d2919439fccfa350edd9a3fdb4aaf229b.tar.gz |
MDEV-16174 Assertion `0' failed in Type_handler_string_result::make_sort_key(uchar*, Item*, const SORT_FIELD_ATTR*, Sort_param*)
maybe_null should be always set to TRUE in
Item_func_json_array_append::fix_length_and_dec()
Diffstat (limited to 'sql/item_jsonfunc.cc')
-rw-r--r-- | sql/item_jsonfunc.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_jsonfunc.cc b/sql/item_jsonfunc.cc index 60726050aca..27bc97f4c5e 100644 --- a/sql/item_jsonfunc.cc +++ b/sql/item_jsonfunc.cc @@ -1562,6 +1562,7 @@ bool Item_func_json_array_append::fix_length_and_dec() } fix_char_length_ulonglong(char_length); + maybe_null= 1; return FALSE; } |