Changeset: b6c97a7e927b for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/b6c97a7e927b
Modified Files:
tools/merovingian/client/monetdb.c
Branch: default
Log Message:
small bug fix: append only one '=' character to property
diffs (20 lines):
diff --git a/tools/merovingian/client/monetdb.c
b/tools/merovingian/client/monetdb.c
--- a/tools/merovingian/client/monetdb.c
+++ b/tools/merovingian/client/monetdb.c
@@ -1258,11 +1258,12 @@ command_set(int argc, char *argv[], mero
exit(state);
}
+ if (type == INHERIT) {
+ strncat(property, "=", sizeof(property) - strlen(property) - 1);
+ p = property;
+ }
+
for (stats = orig; stats != NULL; stats = stats->next) {
- if (type == INHERIT) {
- strncat(property, "=", sizeof(property) -
strlen(property) - 1);
- p = property;
- }
out = control_send(&res, mero_host, mero_port,
stats->dbname, p, false, mero_pass);
if (out != NULL || strcmp(res, "OK") != 0) {
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]