Changeset: adfd8ea26e1c for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=adfd8ea26e1c Modified Files: sql/backends/monet5/UDF/capi/capi.c Branch: Mar2018 Log Message:
make C-UDFs also work with type smallint as input/output type diffs (12 lines): diff --git a/sql/backends/monet5/UDF/capi/capi.c b/sql/backends/monet5/UDF/capi/capi.c --- a/sql/backends/monet5/UDF/capi/capi.c +++ b/sql/backends/monet5/UDF/capi/capi.c @@ -1605,7 +1605,7 @@ static const char *GetTypeName(int type) if (type == TYPE_bit || type == TYPE_bte) { tpe = "bte"; } else if (type == TYPE_sht) { - tpe = "short"; + tpe = "sht"; } else if (type == TYPE_int) { tpe = "int"; } else if (type == TYPE_oid) { _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list