Don't raise exception if update clause affect 0 rows. Also, make sure select queries returning empty set are not affected by this.