Fix default return value in alter_system_int()

This commit is contained in:
Ian Barwick
2019-04-01 14:50:19 +09:00
parent 799ac6d453
commit a564f365c1

View File

@@ -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);