Fix false positives on SQLSTATE and SQLERRM