summaryrefslogtreecommitdiff
path: root/storage/spider
diff options
context:
space:
mode:
authorOleg Smirnov <olernov@gmail.com>2023-01-21 21:01:35 +0700
committerOleg Smirnov <olernov@gmail.com>2023-01-30 18:40:53 +0700
commit855c95e2b5742788f3252ddc1c0ebea60c53252a (patch)
tree4180c509b53692ba23076f81d510e266e88808e0 /storage/spider
parent0f695b77a1b13d518b197e0b95f00c86d53401d9 (diff)
downloadmariadb-git-bb-10.5-MDEV-29693.tar.gz
MDEV-29693 Fix review commentsbb-10.5-MDEV-29693
Part2. Get rid of virtual functions in Shared_ptr
Diffstat (limited to 'storage/spider')
-rw-r--r--storage/spider/spd_table.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/spider/spd_table.cc b/storage/spider/spd_table.cc
index 99eae45dcc1..a546127f413 100644
--- a/storage/spider/spd_table.cc
+++ b/storage/spider/spd_table.cc
@@ -6709,7 +6709,7 @@ int spider_open_all_tables(
free_root(&mem_root, MYF(0));
DBUG_RETURN(HA_ERR_OUT_OF_MEM);
}
- memcpy((void*)share, (void*) &tmp_share, sizeof(*share));
+ memcpy((void*)share, &tmp_share, sizeof(*share));
spider_set_tmp_share_pointer(share, connect_info,
connect_info_length, long_info, longlong_info);
memcpy(connect_info, &tmp_connect_info, sizeof(char *) *