NOTES

Reuse of statement handle after database error (i.e. constraint violation) depends on DBD::SQLite version:

1.14 repeat last error (and sometimes core dumps under v5.8.8 built for MSWin32-x86-multi-thread) 1.13 repeat last error 1.12 seems ok

Strange devolution :(