testing if SQL error resolved