There were a number of baptisms for Mary Oliver around that time but as far as I can see only one in the North of the County.
I notice that Mary’s residence was Doddington, Northumberland on the marriage record, so maybe this is her baptism.
Mary Oliver Parents James & Sarah
Baptism 17 Jan 1798 West Chapel, Wooler, Northumberland, England.
Colin