Since the procedure of adding new items involves deleting all of the previously loaded ones, I wonder why aren't we using transactions here ?
It may happen that something fails after delete and before insert, and we are left with naught.

Is it done so for compatibility with other database drivers ?

Comments

Status: Active » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.