Another fact to observe from this marriage record is the bondsman, James Miles, Jr. While not conclusive, it is possible that James Miles, Jr. is a relative of Uriah Miles.
A secondary source, Caswell County Heritage--North Carolina (1985) has quite a bit on the Miles family:
In 1775, Jacob Miles (1757-1838) married Nancy Rice of Halifax County, Virginia. They moved to Caswell County and lived there for some time with their eight children. One of these children was James Miles (born 22 July 1784 and died 18 April 1848). He married Elizabeth B. (Betsy) Gunn (1786-1873), and they had twelve children. One of these children was James Miles, Jr. (born 27 March 1813 and died 18 January 1849).
No marriage information is provided for James Miles, Jr. In 1934 he would have been 21 years old and could have served as a marriage bondsman/witness. Because of his age, he would not have been the father of Uriah Miles, but could have been a brother, uncle, etc.
PS While the heritage books are wonderful, one must treat them as secondary sources, great starting points but not necessarily accurate.