db locking issue

Matthias Andree matthias.andree at gmx.de
Fri Mar 25 14:06:17 CET 2005


Dmitry V. <vdb at mail.ru> writes:

>>      /* 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. 

Gee, so they need to be changed to SQLITE_BUSY I presume. Please do (in
0.94.2 or with the patch) and let me know what you get.

-- 
Matthias Andree
_______________________________________________
Bogofilter mailing list
Bogofilter at bogofilter.org
http://www.bogofilter.org/mailman/listinfo/bogofilter



More information about the Bogofilter mailing list