You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-10 01:22:48 +03:00
Merge pull request #304 from mariadb-corporation/MCOL-979-1.0
MCOL-979 getNullValueByType() should return string for all char types
This commit is contained in:
@@ -496,7 +496,8 @@ void* WindowFunctionType::getNullValueByType(int ct, int pos)
|
|||||||
break;
|
break;
|
||||||
case CalpontSystemCatalog::CHAR:
|
case CalpontSystemCatalog::CHAR:
|
||||||
case CalpontSystemCatalog::VARCHAR: {
|
case CalpontSystemCatalog::VARCHAR: {
|
||||||
uint64_t len = fRow.getColumnWidth(pos);
|
// uint64_t len = fRow.getColumnWidth(pos);
|
||||||
|
#if 0
|
||||||
switch (len) {
|
switch (len) {
|
||||||
case 1:
|
case 1:
|
||||||
v = &char1Null;
|
v = &char1Null;
|
||||||
@@ -518,6 +519,8 @@ void* WindowFunctionType::getNullValueByType(int ct, int pos)
|
|||||||
v = &stringNull;
|
v = &stringNull;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
v = &stringNull;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case CalpontSystemCatalog::DECIMAL:
|
case CalpontSystemCatalog::DECIMAL:
|
||||||
|
Reference in New Issue
Block a user