More information on this: Busy handler's return value is indeed ignored: in sqlite3pager_begin I've seen this:
..
#if 0
int busy = 1;
do {
rc = sqlite3OsLock(&pPager->fd, RESERVED_LOCK);
}while( rc==SQLITE_BUSY &&
pPager->pBusyHandler &&
pPager->pBusyHandler->xFunc &&
pPager->pBusyHandler->xFunc(pPager->pBusyHandler->pArg, busy++)
);
#endif
..
Will this behavior be implemented in the next release?
Regards,
George Ionescu

