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

chore(server_support): fixes to build columnstore branch with server >= 11.5

This commit is contained in:
Leonid Fedorov
2025-05-22 11:35:53 +00:00
committed by Leonid Fedorov
parent 1c8984fbf6
commit 0359a1fd3a
2 changed files with 7 additions and 2 deletions

View File

@ -328,7 +328,12 @@ static execplan::Partitions getPartitions(TABLE* table)
while ((pe = part_el_it++)) // this is how server does it.
{
result.fPartNames.emplace_back(pe->partition_name);
// TODO: partition names are not just strings in
#if MYSQL_VERSION_ID >= 110501
result.fPartNames.emplace_back(pe->partition_name.str);
#else
result.fPartNames.emplace_back(pe->partition_name);
#endif
}
}
return result;