If the undertaking required by the last section be given the party complained of must be discharged. If he do not give it the magistrate must commit him to prison, specifying in the warrant the requirement to give security, the amount thereof, and the omission to give the same.
R.L.1910, § 5566.