-
Notifications
You must be signed in to change notification settings - Fork 484
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tighten the checks in get_affected_rows() unit tests
Check that a partial update does throw an exception instead of checking that it may throw it and check that get_affected_rows() returns the actual number of affected rows instead of returning something non zero. The only remaining exclusion is the PostgreSQL ODBC driver which just seems to be buggy, notably in its versions < 13.02 when it inserted valid rows into the database but still returned fatal error (with later versions it doesn't insert anything, which is inconsistent with the other drivers and unhelpful, but not quite as bad).
- Loading branch information
Showing
3 changed files
with
28 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters