Update to create_aggregate patch in DBD::SQLite
Francis J. Lacoste
flacoste at logreport.org
Sat Oct 18 18:40:40 CEST 2003
Hello M. Sergeant,
We are pleased to see that the patch to add support for perl functions
and aggregates was added to DBD::SQLite! Thanks a lot for including
it.
There is an important bug in aggregate implementation though. Since
the aggregate values are computed in parrallel, the call to init(),
step() and finalize() won't always be received in that order. To solve
that problem, the init() method was removed and a new instance is
created using a new() method. It is that instance that will receive the
step() and finalize() call.
Here is a patch against the latest DBD::SQLite release 0.28. I'm sure
other users of DBD::SQLite will appreciate the fix.
Thanks again for your work on DBD::SQLite
Kind regards,
Francis J. Lacoste
--
Francis J. Lacoste . . http://www.logreport.org
/^LogReport$/ . . flacoste at logreport.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DBD-SQLite-0.28.patch
Type: text/x-patch
Size: 16426 bytes
Desc: not available
Url : http://lists.logreport.org/pipermail/development/attachments/20031018/8da5bf8f/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.logreport.org/pipermail/development/attachments/20031018/8da5bf8f/attachment-0001.bin
More information about the Development
mailing list