As discussed earlier, here's a better example of how to use transactions for the main database docblock. This one shows how to handle rollbacks using exceptions. No functional changes.

CommentFileSizeAuthor
transaction_doc.patch1.38 KBCrell
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Crell’s picture

Issue tags: +Quick fix
Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

Status: Fixed » Closed (fixed)
Issue tags: -Quick fix

Automatically closed -- issue fixed for 2 weeks with no activity.