Changeset: 7293c2ca586b for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=7293c2ca586b
Modified Files:
gdk/gdk_calc.c
Branch: Jul2012
Log Message:
When casting to TYPE_void, set value to oid_nil.
diffs (11 lines):
diff --git a/gdk/gdk_calc.c b/gdk/gdk_calc.c
--- a/gdk/gdk_calc.c
+++ b/gdk/gdk_calc.c
@@ -12820,6 +12820,7 @@ VARconvert(ValPtr ret, const ValRecord *
if (abort_on_error &&
ATOMcmp(v->vtype, VALptr((ValPtr) v), ATOMnilptr(v->vtype))
!= 0)
nils = BUN_NONE;
+ ret->val.oval = oid_nil;
} else if (v->vtype == TYPE_void) {
nils = convert_typeswitchloop(&oid_nil, TYPE_oid,
VALptr(ret), ret->vtype,
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list