§ 792. Execution of warrant. The sheriff to whom a warrant is issued, must collect each fine out of the personal property of the person fined, as prescribed by law or the rules of civil practice for the collection, by levy upon and sale of personal property, of an execution issued out of a court of record; and he is entitled to like fees thereupon. If sufficient personal property of a delinquent can not be found to pay the fine and the fees, the sheriff must arrest the delinquent, and detain him in custody until he pays the same, as upon an execution against the person, issued in an action, out of the supreme court; and he is entitled to like fees thereupon.