impl mysql result iterator