Changeset: 54aa5254fbea for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=54aa5254fbea
Modified Files:
monetdb5/mal/mal_instruction.mx
Branch: Aug2011
Log Message:
Also display the reason why a constant coercion failed.
diffs (12 lines):
diff --git a/monetdb5/mal/mal_instruction.mx b/monetdb5/mal/mal_instruction.mx
--- a/monetdb5/mal/mal_instruction.mx
+++ b/monetdb5/mal/mal_instruction.mx
@@ -1737,7 +1737,7 @@ defConstant(MalBlkPtr mb, int type, ValP
/* free old value */
ft= getTypeName(otype);
tt= getTypeName(type);
- showException(SYNTAX, "defConstant", "constant coercion
error from %s to %s", ft,tt);
+ showException(SYNTAX, "defConstant", "constant coercion
error from %s to %s: %s", ft, tt, msg);
GDKfree(ft);
GDKfree(tt);
mb->errors++;
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list