Changeset: 1d782240b99c for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=1d782240b99c
Modified Files:
sql/backends/monet5/iot/basket.c
Branch: iot
Log Message:
Negate the check
diffs (14 lines):
diff --git a/sql/backends/monet5/iot/basket.c b/sql/backends/monet5/iot/basket.c
--- a/sql/backends/monet5/iot/basket.c
+++ b/sql/backends/monet5/iot/basket.c
@@ -114,8 +114,8 @@ BSKTnewbasket(sql_schema *s, sql_table *
sql_column *col = o->data;
int tpe = col->type.type->localtype;
- if (tpe < TYPE_str || tpe == TYPE_date || tpe == TYPE_daytime || tpe
== TYPE_timestamp)
- throw(MAL,"baskets.register","Unsupported type");
+ if ( !(tpe < TYPE_str || tpe == TYPE_date || tpe == TYPE_daytime ||
tpe == TYPE_timestamp) )
+ throw(MAL,"baskets.register","Unsupported type %d",tpe);
baskets[idx].count++;
}
baskets[idx].errors = BATnew(TYPE_void, TYPE_str, BATTINY, TRANSIENT);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list