(1) If a person makes a complaint before a county court judge that a crime has been committed and is recognized by the county court judge to appear before the court having jurisdiction to give evidence of the crime and fails to appear, the person is liable for all costs occasioned by his or her complaint, and the county court judge may enter a judgment and execution for the costs as in other cases.
(2) A person who voluntarily appears before a grand jury, state attorney, or county court judge shall not be paid per diem or mileage as a witness unless the grand jury finds a true bill, the state attorney files an information, or the county court judge holds the party charged for trial.
(3) A person who voluntarily appears or has himself or herself summoned before a county court judge as a witness on the trial of a misdemeanor shall not be paid per diem or mileage as a witness unless the trial results in a conviction of the defendant.