This prevents it from bypassing a failed upgrade if the upgrade.pl script is run again. Instead it will get stuck on the failed upgrade, forcing the problem to be resolved instead of ignored.