db locking issue
Dmitry V.
vdb at mail.ru
Fri Mar 25 00:21:24 CET 2005
Matthias Andree <matthias.andree <at> gmx.de> writes:
> Ouch, hefty bug in sqlite before 3.2.0. Time to update SQLite
> documentation and declare versions before 3.2.0 unsupported...
I am using exactly newest version 3.2.0. Is there still problem with it?
> /* sqlite3_exec doesn't allow us to retrieve BLOBs */
> - rc = sqlite3_prepare(db, cmd, strlen(cmd), &stmt, &tail);
> + do {
> + rc = sqlite3_prepare(db, cmd, strlen(cmd), &stmt, &tail);
> + if (rc == SQLITE_LOCKED) {
Thank you, I'll try your patch. BTW, the mentioned error code 5 is translated as
SQLITE_BUSY.
_______________________________________________
Bogofilter mailing list
Bogofilter at bogofilter.org
http://www.bogofilter.org/mailman/listinfo/bogofilter
More information about the Bogofilter
mailing list