You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-1052 GROUP BY handler returns NULL values properly.
This commit is contained in:
@ -472,6 +472,10 @@ int fetchNextRow(uchar* buf, cal_table_info& ti, cal_connection_info* ci, bool h
|
|||||||
//set all fields to null in null col bitmap
|
//set all fields to null in null col bitmap
|
||||||
if (!handler_flag)
|
if (!handler_flag)
|
||||||
memset(buf, -1, ti.msTablePtr->s->null_bytes);
|
memset(buf, -1, ti.msTablePtr->s->null_bytes);
|
||||||
|
else
|
||||||
|
{
|
||||||
|
memset(ti.msTablePtr->null_flags, -1, ti.msTablePtr->s->null_bytes);
|
||||||
|
}
|
||||||
std::vector<CalpontSystemCatalog::ColType>& colTypes = ti.tpl_scan_ctx->ctp;
|
std::vector<CalpontSystemCatalog::ColType>& colTypes = ti.tpl_scan_ctx->ctp;
|
||||||
int64_t intColVal = 0;
|
int64_t intColVal = 0;
|
||||||
uint64_t uintColVal = 0;
|
uint64_t uintColVal = 0;
|
||||||
|
Reference in New Issue
Block a user