1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-08 14:22:09 +03:00

MCOL-641 Simple INSERT with one record works with this commit.

This commit is contained in:
Roman Nozdrin
2020-01-09 13:22:56 +00:00
parent df65543dd4
commit 63dcaa387f
5 changed files with 144 additions and 11 deletions

View File

@@ -638,6 +638,7 @@ void Convertor::convertColType(ColStruct* curStruct)
break;
default:
// WIP replace with BINARY
*internalType = WriteEngine::WR_INT128;
break;
}
@@ -772,8 +773,10 @@ int Convertor::getCorrectRowWidth(CalpontSystemCatalog::ColDataType dataType, in
newWidth = 2;
else if (width <= 4)
newWidth = 4;
else
else if (width <= 8)
newWidth = 8;
else
newWidth = 16;
break;