From 7664a44e4170d6c3066d6b7cf852e02c4a7b5df6 Mon Sep 17 00:00:00 2001 From: Steve Singer Date: Thu, 9 Jun 2011 09:22:19 -0400 Subject: [PATCH] Fix for bug220. The parameters being passed to reshapeSubscription are in the wrong order. Report/proposed fix from Glyn Astill --- src/slonik/slonik.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/slonik/slonik.c b/src/slonik/slonik.c index 165145d..83435c9 100644 --- a/src/slonik/slonik.c +++ b/src/slonik/slonik.c @@ -4199,7 +4199,8 @@ slonik_subscribe_set(SlonikStmt_subscribe_set * stmt) slon_mkquery(&query, "select \"_%s\".reshapeSubscription(%d,%d,%d);", stmt->hdr.script->clustername, - stmt->sub_provider,stmt->sub_setid, + stmt->sub_setid, + stmt->sub_provider, stmt->sub_receiver); if (db_exec_command((SlonikStmt *) stmt, adminfo2, &query) < 0) { -- 1.7.0.4