diff options
author | Alexander Barkov <bar@mariadb.com> | 2021-10-07 20:58:18 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2021-10-26 18:04:17 +0400 |
commit | 49098bfd4908ff3a33ae6c6a30c2a9b7dd90e4df (patch) | |
tree | ff4d036cccd9d2d5740a65cd95e7b92db4afa8b6 /include/atomic | |
parent | 395a033237686f2504e1acd9cb9555941a8e7179 (diff) | |
download | mariadb-git-49098bfd4908ff3a33ae6c6a30c2a9b7dd90e4df.tar.gz |
MDEV-26732 Assertion `0' failed in Item::val_nativebb-10.5-bar-MDEV-26732
Also fixes MDEV-24619 Wrong result or Assertion `0' in Item::val_native / Type_handler_inet6::Item_val_native_with_conversion
Type_handler_inet6::create_item_copy() created a generic Item_copy_string,
which does not implement val_native() - it has a dummy implementation
with DBUG_ASSERT(0), which made the server crash.
Fix:
- Adding a new class Type_handler_inet6
which implements val_native().
- Fixing Type_handler_inet6::create_item_copy()
to make Item_copy_inet6 instead of Item_copy_string.
Diffstat (limited to 'include/atomic')
0 files changed, 0 insertions, 0 deletions