mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Fix default return value in alter_system_int()
This commit is contained in:
@@ -1109,7 +1109,7 @@ alter_system_int(PGconn *conn, const char *name, int value)
|
||||
{
|
||||
PQExpBufferData query;
|
||||
PGresult *res = NULL;
|
||||
bool success = false;
|
||||
bool success = true;
|
||||
|
||||
initPQExpBuffer(&query);
|
||||
appendPQExpBuffer(&query,
|
||||
@@ -1125,7 +1125,6 @@ alter_system_int(PGconn *conn, const char *name, int value)
|
||||
success = false;
|
||||
}
|
||||
|
||||
|
||||
termPQExpBuffer(&query);
|
||||
PQclear(res);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user