Dr Mahathir Mohamad was reminded of his far from sterling track record as prime minister for more than two decades.