On 3/5/16, Stephan Beal <sgbeal at googlemail.com> wrote: > On Sat, Mar 5, 2016 at 10:43 PM, Domingo Alvarez Duarte < > > The scenario i'm concerned about is that sqlite calls my aggregate N times, > then an error is triggered elsewhere which keeps sqlite from making the > final() aggregate call.
IIRC, SQLite always calls the final() function. Even after an error. -- D. Richard Hipp drh at sqlite.org