add log in doQueryRow