When undertaking is or is not given

N.D.C.C. § 29-02-12, under Prevention of Public Offenses.

N.D.C.C. § 29-02-12

If an undertaking to keep the peace as required by section 29-02-11 is given, the party complained of must be discharged. If the party does not give it, the magistrate shall commit the person to prison specifying in the warrant the requirement to give security, the amount thereof, and the omission to give the same.