A party to such execution, who shall pay it, shall, as against any other party to it who is liable to him for the sum paid or any part of it, be entitled to the benefit of all the provisions for sureties in the chapter entitled "Principal and Surety," being Chapter 5 of Title 87, Mississippi Code of 1972.