summaryrefslogtreecommitdiff
path: root/sql/handler.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2019-03-16 16:03:54 +0100
committerSergei Golubchik <serg@mariadb.org>2019-03-17 13:06:56 +0100
commitf38c3521725ff9847819eb92af46cbb302650770 (patch)
treeceb9c76ca50e1b098a70c764d75523e1312bc826 /sql/handler.cc
parentb64fde8f38515dc39e019de26db7624cc0ea7046 (diff)
downloadmariadb-git-f38c3521725ff9847819eb92af46cbb302650770.tar.gz
post-merge: gcc 8 warnings
Diffstat (limited to 'sql/handler.cc')
-rw-r--r--sql/handler.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/handler.cc b/sql/handler.cc
index 53c58e64782..e01392d236c 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -6976,7 +6976,6 @@ static Create_field *vers_init_sys_field(THD *thd, const char *field_name, int f
if (!f)
return NULL;
- memset(f, 0, sizeof(*f));
f->field_name.str= field_name;
f->field_name.length= strlen(field_name);
f->charset= system_charset_info;