diff options
author | danielk1977 <danielk1977@noemail.net> | 2004-06-12 01:43:26 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2004-06-12 01:43:26 +0000 |
commit | 2a764eb0cd9755ff464c9ef7c900e3fd8feef0cc (patch) | |
tree | 162f21e267994ef0e245be0569155a9299026b47 /src/pager.c | |
parent | dc8453fd7acab7acdcbf68c5ef13717e8e8e6587 (diff) | |
download | sqlite-2a764eb0cd9755ff464c9ef7c900e3fd8feef0cc.tar.gz sqlite-2a764eb0cd9755ff464c9ef7c900e3fd8feef0cc.zip |
Change prototype for busy callbacks to "int xBusy(void *, int);" (CVS 1573)
FossilOrigin-Name: 4f1cfca5ca703d0068cf8d6222dc8e0cfb7e24b6
Diffstat (limited to 'src/pager.c')
-rw-r--r-- | src/pager.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pager.c b/src/pager.c index 0c28b8f48..add2e80b4 100644 --- a/src/pager.c +++ b/src/pager.c @@ -18,7 +18,7 @@ ** file simultaneously, or one process from reading the database while ** another is writing. ** -** @(#) $Id: pager.c,v 1.123 2004/06/10 23:35:50 drh Exp $ +** @(#) $Id: pager.c,v 1.124 2004/06/12 01:43:26 danielk1977 Exp $ */ #include "os.h" /* Must be first to enable large file support */ #include "sqliteInt.h" @@ -1555,7 +1555,7 @@ static int pager_write_pagelist(PgHdr *pList){ }while( rc==SQLITE_BUSY && pPager->pBusyHandler && pPager->pBusyHandler->xFunc && - pPager->pBusyHandler->xFunc(pPager->pBusyHandler->pArg, "", busy++) + pPager->pBusyHandler->xFunc(pPager->pBusyHandler->pArg, busy++) ); if( rc!=SQLITE_OK ){ return rc; @@ -1639,7 +1639,7 @@ int sqlite3pager_get(Pager *pPager, Pgno pgno, void **ppPage){ }while( rc==SQLITE_BUSY && pPager->pBusyHandler && pPager->pBusyHandler->xFunc && - pPager->pBusyHandler->xFunc(pPager->pBusyHandler->pArg, "", busy++) + pPager->pBusyHandler->xFunc(pPager->pBusyHandler->pArg, busy++) ); if( rc!=SQLITE_OK ){ return rc; @@ -2030,7 +2030,7 @@ int sqlite3pager_begin(void *pData, int nMaster){ }while( rc==SQLITE_BUSY && pPager->pBusyHandler && pPager->pBusyHandler->xFunc && - pPager->pBusyHandler->xFunc(pPager->pBusyHandler->pArg, "", busy++) + pPager->pBusyHandler->xFunc(pPager->pBusyHandler->pArg, busy++) ); if( rc!=SQLITE_OK ){ return rc; |