Changeset: 0b568d2ed2bb for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=0b568d2ed2bb
Modified Files:
sql/backends/monet5/sql_rdf.c
Branch: rdf
Log Message:
Fix bug when using BUNtloc
- Dense tail of supposedly oid-type bat can have void type. Then, need to use
BUNtail in stead of BUNtloc
diffs (12 lines):
diff --git a/sql/backends/monet5/sql_rdf.c b/sql/backends/monet5/sql_rdf.c
--- a/sql/backends/monet5/sql_rdf.c
+++ b/sql/backends/monet5/sql_rdf.c
@@ -1298,7 +1298,7 @@ SQLrdfidtostr_bat(Client cntxt, MalBlkPt
BATloop(srcBat, p, q){
- id = (oid *)BUNtloc(srci, p);
+ id = (oid *)BUNtail(srci, p);
if (*id == oid_nil){
BUNappend(desBat, str_nil, TRUE);
continue;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list