(1) If the judgment is for defendant in the main action, plaintiff shall pay all costs which have accrued in consequence of suing out a writ of garnishment before judgment and the money or property brought into the registry of the court or custody of the officer thereby inures to the benefit of and shall be controlled by defendant as completely as though it had been rendered in defendant’s favor.
(2) If plaintiff dismisses his or her action or has a judgment against him or her on the trial, the judgment against garnishee shall become a nullity and garnishee shall have execution for garnishee’s costs against plaintiff.
s. 11, ch. 43, 1845; s. 2, ch. 1100, 1861; RS 1683, 1684