Re: [Patch] Update view-database only if the transaction succeeded
Kevin Rosenberg <kevin-HJRc7zDS/[email protected]> Wed, 12 Sep 2007 13:05:44 -0600
| Newsgroups | gmane.lisp.clsql.devel |
|---|---|
| Message-ID | <[email protected]> |
Saurabh Nanda wrote: > + (if (and (in-transaction-p :database database) > + (boundp '*transaction-insert-list*)) Rather than relying on the bound status of the variable, can't you just check if in-transaction-p (and initialize the variable value to nil)? Kevin