You've already forked mariadb-columnstore-engine
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:
@ -371,6 +371,12 @@ void WriteEngineWrapper::convertValue(const execplan::CalpontSystemCatalog::ColT
|
|||||||
size = sizeof(long long);
|
size = sizeof(long long);
|
||||||
memcpy(value, &val, size);
|
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
|
else
|
||||||
{
|
{
|
||||||
uint64_t val = boost::any_cast<uint64_t>(data);
|
uint64_t val = boost::any_cast<uint64_t>(data);
|
||||||
|
Reference in New Issue
Block a user