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

MCOL-4174 Review/refactor frontend/connector code

This commit is contained in:
Alexander Barkov
2020-10-20 15:35:36 +04:00
committed by Roman Nozdrin
parent 68244ab957
commit 129d5b5a0f
70 changed files with 6982 additions and 4927 deletions

View File

@@ -220,12 +220,12 @@ CreateIndexProcessor::DDLResult CreateIndexProcessor::processPackage(ddlpackage:
}
else if (CONSTRAINTPRIM_COL == column.tableColName.column)
{
colTuple.data = getNullValueForType(column.colType);
colTuple.data =column.colType.getNullValueForType();
isNull = true;
}
else if (CONSTRAINTTEXT_COL == column.tableColName.column)
{
colTuple.data = getNullValueForType(column.colType);
colTuple.data = column.colType.getNullValueForType();
isNull = true;
}
else if (INDEXNAME_COL == column.tableColName.column)
@@ -235,7 +235,7 @@ CreateIndexProcessor::DDLResult CreateIndexProcessor::processPackage(ddlpackage:
}
else
{
colTuple.data = getNullValueForType(column.colType);
colTuple.data = column.colType.getNullValueForType();
isNull = true;
}
@@ -336,7 +336,7 @@ CreateIndexProcessor::DDLResult CreateIndexProcessor::processPackage(ddlpackage:
}
else
{
colTupleCol.data = getNullValueForType(column.colType);
colTupleCol.data = column.colType.getNullValueForType();
isNull = true;
}