When an information or indictment is for a felony, and the defendant, before the filing or finding thereof, has given bail for the defendant's appearance to answer the charge, the court to which the information or indictment is presented, or sent, or removed for trial, may order the defendant to be committed to actual custody either without bail, or until the defendant gives bail in an increased amount, to be specified in the order.
N.D.C.C. § 29-12-10