The static declaration of fork_follow_child() was missing. Also fix
typo in a comment.
/*
* fork a follow child
*/
-pid_t
+static pid_t
fork_follow_child(int old_main_node, int new_primary, int old_primary)
{
pid_t pid;
}
Req_info->follow_primary_ongoing = false;
pool_release_follow_primary_lock(false);
- /* inform standby watchdog nodes to release the lock aswell*/
+ /* inform standby watchdog nodes to release the lock as well*/
wd_unlock_standby(WD_FOLLOW_PRIMARY_LOCK);
exit(0);
}