diff options
author | Sergei Golubchik <serg@mariadb.org> | 2020-02-14 16:25:45 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2020-03-10 19:24:23 +0100 |
commit | d5a00697023d17b38b89d7b3c4d37fa98c1dd60b (patch) | |
tree | d3225ba5e01b5bf2f0bde9aca82ab6324dab701a /storage/perfschema | |
parent | 00819d8116a4613a30ca72ed999ec387595a1783 (diff) | |
download | mariadb-git-d5a00697023d17b38b89d7b3c4d37fa98c1dd60b.tar.gz |
perfschema socket instrumentation related changes
Diffstat (limited to 'storage/perfschema')
-rw-r--r-- | storage/perfschema/table_threads.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/perfschema/table_threads.cc b/storage/perfschema/table_threads.cc index 6d83b6531b6..0b004c17c24 100644 --- a/storage/perfschema/table_threads.cc +++ b/storage/perfschema/table_threads.cc @@ -215,7 +215,7 @@ int table_threads::read_row_values(TABLE *table, { Field *f; const char *str= NULL; - int len= 0; + size_t len= 0; if (unlikely(! m_row_exists)) return HA_ERR_RECORD_DELETED; @@ -326,7 +326,7 @@ int table_threads::read_row_values(TABLE *table, case 15: /* CONNECTION_TYPE */ get_vio_type_name(m_row.m_connection_type, & str, & len); if (len > 0) - set_field_varchar_utf8(f, str, len); + set_field_varchar_utf8(f, str, (uint)len); else f->set_null(); break; |