mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-27 20:41:58 +03:00
Change prototype for busy callbacks to "int xBusy(void *, int);" (CVS 1573)
FossilOrigin-Name: 4f1cfca5ca703d0068cf8d6222dc8e0cfb7e24b6
This commit is contained in:
@ -47,7 +47,7 @@ extern char *sqlite_vmprintf(const char *zFormat, va_list);
|
||||
/*
|
||||
** When a lock occurs, yield.
|
||||
*/
|
||||
static int db_is_locked(void *NotUsed, const char *zNotUsed, int iNotUsed){
|
||||
static int db_is_locked(void *NotUsed, int iNotUsed){
|
||||
/* sched_yield(); */
|
||||
if( verbose ) printf("BUSY %s\n", (char*)NotUsed);
|
||||
usleep(100);
|
||||
|
Reference in New Issue
Block a user