The delivery of prisoners, by indenture between the late and present sheriff, or the entering on record in court the names of the several prisoners, and the causes of their commitment, delivered over to the present sheriff, shall be sufficient to discharge the late sheriff from all liability for any escape that shall happen. (1777, c. 118, s. 12, P.R.; R.C., c. 87, s. 15; Code, s. 3470; Rev., s. 1348; C.S., s. 1352; 1973, c. 822, s. 3.)