Branch: refs/heads/rrwo/updatable_key-config
Home: https://github.com/perl5-dbi/dbi
Commit: fac84fb3d92211022ddbcebe1846a4a65a48218c
https://github.com/perl5-dbi/dbi/commit/fac84fb3d92211022ddbcebe1846a4a65a48218c
Author: Robert Rothenberg <[email protected]>
Date: 2026-08-15 (Sat, 15 Aug 2026)
Changed paths:
M ChangeLog
M lib/DBD/DBM.pm
M t/50dbm_simple.t
Log Message:
-----------
feature: Add option to disallow UPDATE to overwrite an existing primary-key
row
This adds a dbm_updatable_key attribute, with the following values:
- 0 = no change, default behavior as is
- 1 = warn on duplicate key but continue as usual
- 2 = croak on duplicate key
To unsubscribe from these emails, change your notification settings at
https://github.com/perl5-dbi/dbi/settings/notifications