summaryrefslogtreecommitdiff
path: root/storage/federatedx
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2019-10-11 23:16:01 +0400
committerAlexander Barkov <bar@mariadb.com>2019-10-12 07:25:53 +0400
commit530f3f7cfc912ce9ff8282c520aa055b768cbe2a (patch)
tree62a578b80fa42079d1a362475210c5aecbd51e88 /storage/federatedx
parenta0d3a351b8c5c2eb757270f31f9741b94f88ff1d (diff)
downloadmariadb-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.cc3
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);