diff options
author | Alexander Barkov <bar@mariadb.com> | 2019-10-11 23:16:01 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2019-10-12 07:25:53 +0400 |
commit | 530f3f7cfc912ce9ff8282c520aa055b768cbe2a (patch) | |
tree | 62a578b80fa42079d1a362475210c5aecbd51e88 /storage/federatedx | |
parent | a0d3a351b8c5c2eb757270f31f9741b94f88ff1d (diff) | |
download | mariadb-git-530f3f7cfc912ce9ff8282c520aa055b768cbe2a.tar.gz |
MDEV-20806 Federated does not work with INET6, returns NULL with warning ER_TRUNCATED_WRONG_VALUE
Diffstat (limited to 'storage/federatedx')
-rw-r--r-- | storage/federatedx/ha_federatedx.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/federatedx/ha_federatedx.cc b/storage/federatedx/ha_federatedx.cc index 1dd4aacee49..7db6fe9d541 100644 --- a/storage/federatedx/ha_federatedx.cc +++ b/storage/federatedx/ha_federatedx.cc @@ -893,7 +893,8 @@ uint ha_federatedx::convert_row_to_internal_format(uchar *record, if (bitmap_is_set(table->read_set, (*field)->field_index)) { (*field)->set_notnull(); - (*field)->store(io->get_column_data(row, column), lengths[column], &my_charset_bin); + (*field)->store_text(io->get_column_data(row, column), lengths[column], + &my_charset_bin); } } (*field)->move_field_offset(-old_ptr); |