Upon the affidavit provided for in Section 5.17 being made or the bond provided for in Section 5.15 being given, the same shall act as a supersedeas of the judgment sought to be reviewed by certiorari, until the final judgment is rendered in said case.