Closed suspend0 closed 7 years ago
dbi_put return false if it cannot insert a duplicate value because of MDB_NODUPDATA or MDB_NOOVERWRITE, while cursor_put will raise an exception.
This patch modifies cursor_put so it has the same behavior as dbi_put.
This breaks backwards compatibility, so I understand if the PR cannot be accepted.
Thanks--I'll have a look this week and get back to you.
Bump.
closing old PRs
dbi_put return false if it cannot insert a duplicate value because of MDB_NODUPDATA or MDB_NOOVERWRITE, while cursor_put will raise an exception.
This patch modifies cursor_put so it has the same behavior as dbi_put.