An issue of fact arises,
1st, upon a plea of not guilty, or,
2nd, upon a plea of a former conviction or acquittal of the same offense.
R.L.1910, § 5822.