summaryrefslogtreecommitdiff
path: root/storage/spider/ha_spider.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 /storage/spider/ha_spider.cc
parentb64fde8f38515dc39e019de26db7624cc0ea7046 (diff)
downloadmariadb-git-f38c3521725ff9847819eb92af46cbb302650770.tar.gz
post-merge: gcc 8 warnings
Diffstat (limited to 'storage/spider/ha_spider.cc')
-rw-r--r--storage/spider/ha_spider.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/spider/ha_spider.cc b/storage/spider/ha_spider.cc
index e60355958bd..9e1b5c916c6 100644
--- a/storage/spider/ha_spider.cc
+++ b/storage/spider/ha_spider.cc
@@ -11295,7 +11295,7 @@ int ha_spider::create(
error_num = ER_SPIDER_ALTER_BEFORE_UNLOCK_NUM;
goto error_alter_before_unlock;
}
- memset(&tmp_share, 0, sizeof(SPIDER_SHARE));
+ memset((void*)&tmp_share, 0, sizeof(SPIDER_SHARE));
tmp_share.table_name = (char*) name;
tmp_share.table_name_length = strlen(name);
#ifdef SPIDER_HAS_HASH_VALUE_TYPE