All indictments or special presentments shall be submitted to and passed upon by a jury under the direction of the presiding judge unless there is a settlement of the case between the prosecutor and the defendant, which settlement shall be valid only by the approval and order of the court on examination into the merits of the case.
OCGA § 17-8-2