Changeset: a67cc7e54fef for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/a67cc7e54fef
Modified Files:
sql/server/rel_prop.c
Branch: new_rmt_opt
Log Message:
Removes trailing spaces from REMOTE prop dump
diffs (14 lines):
diff --git a/sql/server/rel_prop.c b/sql/server/rel_prop.c
--- a/sql/server/rel_prop.c
+++ b/sql/server/rel_prop.c
@@ -144,7 +144,9 @@ propvalue2string(sql_allocator *sa, prop
for (node *n = ((list*)p->value.pval)->h; n; n =
n->next) {
tid_uri *tu = n->data;
if (tu->uri)
- offset += snprintf(buf + offset,
BUFSIZ, "%s ", sql_escape_ident(sa, tu->uri));
+ offset += snprintf(buf + offset,
BUFSIZ, "%s%s",
+ sql_escape_ident(sa,
offset?" ":""),
+ sql_escape_ident(sa,
tu->uri));
}
return sa_strdup(sa, buf);
}
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]