1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

chore(compilation): to resolve unexpected boost warnings

This commit is contained in:
drrtuy
2025-03-25 11:29:26 +00:00
committed by Leonid Fedorov
parent 9bc6608112
commit 87981483e2
3 changed files with 9 additions and 21 deletions

View File

@ -83,10 +83,11 @@ pthread_mutex_t mcs_mutex;
Function we use in the creation of our hash to get key.
*/
static uchar* mcs_get_key(COLUMNSTORE_SHARE* share, size_t* length, my_bool not_used __attribute__((unused)))
static uchar* mcs_get_key(void* share, size_t* length, my_bool not_used __attribute__((unused)))
{
*length = share->table_name_length;
return (uchar*)share->table_name;
auto* sharePtr = reinterpret_cast<COLUMNSTORE_SHARE*>(share);
*length = sharePtr->table_name_length;
return (uchar*)sharePtr->table_name;
}
// This one is unused