Actually, libraries intentionally do not keep records of what books you've checked out for patron privacy reasons. It can be annoying, but it's a the right thing to do.
"The Library does not maintain a history of what a borrower has previously checked out once books and materials are returned on time."