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

MCOL-4468 Add forgotten cast from long saved as boost::any into int64_t for WR_LONGLONG

This commit is contained in:
Roman Nozdrin
2020-12-23 13:44:53 +00:00
parent 837c641ee4
commit c399249b1e

View File

@ -371,6 +371,12 @@ void WriteEngineWrapper::convertValue(const execplan::CalpontSystemCatalog::ColT
size = sizeof(long long);
memcpy(value, &val, size);
}
else if (data.type() == typeid(long))
{
long val = boost::any_cast<long>(data);
size = sizeof(long);
memcpy(value, &val, size);
}
else
{
uint64_t val = boost::any_cast<uint64_t>(data);