SQL errors are ignored unless they appear inside a transaction.