moved reading of system tables to records.h abstract routines preventing bug with certain MySQL version. Not yet fully complete.