When a person is committed to jail, charged with an offense for which he has not been indicted, and claims to be unlawfully detained, the sheriff on demand of the accused or his counsel shall forthwith notify the court of common pleas, and the prosecuting attorney, to attend an examining court, the time of which shall be fixed by the judge. The judge shall hear said cause or complaint, examine the witnesses, and make such order as the justice of the case requires, and for such purpose the court may admit to bail, release without bond, or recommit to jail in accordance with the commitment. In the absence of the judge of the court of common pleas, the probate judge shall hold such examining court.
R.C. §2937.34