Changeset: 745697f939c2 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=745697f939c2
Modified Files:
sql/backends/monet5/sql.c
Branch: default
Log Message:
Don't forget the error code
diffs (12 lines):
diff --git a/sql/backends/monet5/sql.c b/sql/backends/monet5/sql.c
--- a/sql/backends/monet5/sql.c
+++ b/sql/backends/monet5/sql.c
@@ -1853,7 +1853,7 @@ SQLtid(Client cntxt, MalBlkPtr mb, MalSt
BBPunfix(d->batCacheid);
BBPunfix(tids->batCacheid);
if (diff == NULL)
- throw(SQL,"sql.tid","Cannot subtract delete column");
+ throw(SQL,"sql.tid", SQLSTATE(45002) "Cannot subtract
delete column");
BAThseqbase(diff, sb);
tids = diff;
}
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list