[racket] Fwd: Snooze & Transactions
On Mon, Dec 20, 2010 at 07:31:59AM +0000, Noel Welsh wrote:
> Hi Russell,
>
> You'll find examples of transactions in the tests for it:
>
> http://planet.plt-scheme.org/package-source/untyped/snooze.plt/2/8/snooze-transaction-test.ss
>
> It should be fairly simple to get working. Note that Snooze on Planet
> is ancient. Up-to-date but undocumented and hence unreleased code is
> here:
>
> https://github.com/untyped/snooze
>
> The changes are not enormous, and the tests provide some examples.
I'm pleased to say I got it working, with a tremendous speedup.
As it turns out, I had incorrectly placed:
(provide (all-from-out (planet untyped/snooze:2))
(snooze-interface-out))
after making my database object. While all the other calls continued
to work, call-with-transaction did not.
Thanks.
------------------------------------------------------------------
Russell Adams RLAdams at AdamsInfoServ.com
PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/
Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3