It is the duty of the sheriff or other officer having custody of such defendant, upon his compliance with the order of the committing court or officer, to release him from custody; and he shall approve the sureties on the bond, except admitted and authorized fidelity and surety insurance companies acting as surety, and for that purpose may examine them on oath, or take their affidavit in writing, and may administer such oath.
Miss. Code § 99-5-15