diff options
author | Sergei Petrunia <sergey@mariadb.com> | 2023-01-30 15:21:38 +0200 |
---|---|---|
committer | Sergei Petrunia <sergey@mariadb.com> | 2023-01-31 15:52:17 +0200 |
commit | 874a9b14aeb3fb65ed4354446766fb4c84379152 (patch) | |
tree | a56a8d202caf5c44085a3d58764309e6ee8c0768 | |
parent | 53b7463a995d7ac4be1b52168d806038724f5d2c (diff) | |
download | mariadb-git-bb-11.0-jan23-rebase.tar.gz |
Fix compile on some linux platformsbb-11.0-jan23-rebase
-rw-r--r-- | sql/table.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/table.cc b/sql/table.cc index 1799a3d260f..f320710fb9a 100644 --- a/sql/table.cc +++ b/sql/table.cc @@ -763,7 +763,7 @@ static bool create_key_infos(const uchar *strpos, const uchar *frm_image_end, bzero((char*) keyinfo, len); key_part= reinterpret_cast<KEY_PART_INFO*> (keyinfo); } - bzero(first_keyinfo, sizeof(*first_keyinfo)); + bzero((char*)first_keyinfo, sizeof(*first_keyinfo)); /* If share->use_ext_keys is set to TRUE we assume that any not |