[cl-prevalence-devel] Fwd: Another simple question

Sven Van Caekenberghe scaekenberghe at common-lisp.net
Mon Sep 20 06:50:02 UTC 2004


On 20 Sep 2004, at 00:15, Randall Randall wrote:

> I wrote:
>> In looking through managed-prevalence.lisp, it
>> appears that the "unique" id counter isn't saved
>> in the transaction log.  Is this an oversight,
>> or a feature I don't understand? :)
>
> The latter, it would appear, since next-id is only
> called from inside a transaction.  My apologies
> for the noise.
>

Indeed.

It is however necessary to call (execute-transaction 
(tx-create-id-counter)) once before starting to use a newly created 
prevalence system for the first time, otherwise the counter is 
uninitialized.

Sven





More information about the Cl-prevalence-devel mailing list