Remove unused olddb code paths