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
feat(bytestream,serdes): Distribute BS buf size data type change to avoid implicit data type narrowing
This commit is contained in:
@ -4294,7 +4294,7 @@ ReturnedColumn* buildFunctionColumn(Item_func* ifp, gp_walk_info& gwi, bool& non
|
||||
if (from_tzinfo)
|
||||
{
|
||||
serializeTimezoneInfo(bs, from_tzinfo);
|
||||
uint32_t length = bs.length();
|
||||
messageqcpp::BSSizeType length = bs.length();
|
||||
uint8_t* buf = new uint8_t[length];
|
||||
bs >> buf;
|
||||
tzinfo = string((char*)buf, length);
|
||||
@ -4306,7 +4306,7 @@ ReturnedColumn* buildFunctionColumn(Item_func* ifp, gp_walk_info& gwi, bool& non
|
||||
if (to_tzinfo)
|
||||
{
|
||||
serializeTimezoneInfo(bs, to_tzinfo);
|
||||
uint32_t length = bs.length();
|
||||
messageqcpp::BSSizeType length = bs.length();
|
||||
uint8_t* buf = new uint8_t[length];
|
||||
bs >> buf;
|
||||
tzinfo = string((char*)buf, length);
|
||||
|
Reference in New Issue
Block a user