The parameters being passed to reshapeSubscription are in the wrong order.
Report/proposed fix from Glyn Astill <glynastill@yahoo.co.uk>
- Bug 218 - obtain a lock on sl_config_lock before calling storePath_int
+- Bug 220 - Fix issue where changing the provider of an existing subscriber
+ passed parameters in the wrong order to the stored procedure.
+
- Fixed slonik memory corruption when it tries to get the last known
event_id from a node that doesn't yet have slony installed.
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)
{