If, after the allowance of a reasonable time, the security be not given, the magistrate shall make an order committing the accused to jail to be kept safely until legally discharged; and he shall issue a commitment accordingly.
Tex. Code Crim. Proc. § 17.27