Bug fix in MySQLSvc: nEvents in used without intialization