From 783b816fe18845a8cee3ee503d81cad1a80f37a3 Mon Sep 17 00:00:00 2001 From: Steve Singer Date: Thu, 28 Mar 2013 11:38:26 -0400 Subject: [PATCH 2/2] bug 287 - Don't check the node id on an update functions The shared library might not exist before UPDATE FUNCTIONS runs since the old shared library might not be present and the functions haven't yet been update to point at the new one. --- src/slonik/slonik.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/slonik/slonik.c b/src/slonik/slonik.c index 7e4b510..bfb35b2 100644 --- a/src/slonik/slonik.c +++ b/src/slonik/slonik.c @@ -4874,7 +4874,7 @@ slonik_update_functions(SlonikStmt_update_functions * stmt) PGresult *res; SlonDString query; - adminfo = get_checked_adminfo((SlonikStmt *) stmt, stmt->no_id); + adminfo = get_active_adminfo((SlonikStmt *) stmt, stmt->no_id); if (adminfo == NULL) return -1; -- 1.7.0.4