When complaining witness required to give security for costs

Va. Code Ann. § 19.2-229, under Chapter 14. Presentments, Indictments and Informations..

Va. Code Ann. § 19.2-229

For good cause the court may require a complaining witness to give security for the costs and if he fails to do so dismiss the prosecution at his costs.