The party complaining is required, before the issuance of the writ, to give bond, with good security, to pay all costs and damages which shall accrue to the defendant for the wrongful prosecution of the suit.
Code 1858, § 3348 (deriv. Acts 1822, ch. 35, § 1); Shan., § 5097; Code 1932, § 9251; T.C.A. (orig. ed.), § 23-1611.