The undertaking of bail binds the parties thereto, jointly and severally, for the appearance of the defendant on the day fixed in the bond or undertaking from day to day of such session and from day to day of each session thereafter, until he is discharged by law and, if the trial is removed to another county, for the appearance of the defendant from day to day of each session of the court to which it is removed until discharged by law.