When it appears to the satisfaction of the court that personal bond of the witness will insure his attendance, no security need be required of him; but no bond without security shall be taken by any officer.