When a person has been committed to custody under Section 99-3-29 the court shall thereupon bind over the witnesses necessary to establish the perjury to appear at the proper court to testify before the grand jury and on the trial, in case an indictment be found for such perjury.