1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-24 14:20:59 +03:00

Merge pull request #1695 from drrtuy/MCOL-4468

MCOL-4468 Add forgotten cast from long saved as boost::any into int64…
This commit is contained in:
Roman Nozdrin
2020-12-24 17:29:39 +03:00
committed by GitHub

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);