You've already forked mariadb-columnstore-engine
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:
committed by
Roman Nozdrin
parent
68244ab957
commit
129d5b5a0f
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user