1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Remove leftover PGHDR_TO_DATA macro from pager.c. Ticket #3323. (CVS 5574)

FossilOrigin-Name: 5e9559c0490b9e0395e1da4d36bd33942350978c
This commit is contained in:
danielk1977
2008-08-21 04:35:18 +00:00
parent 23f79d061f
commit 3084952a6d
3 changed files with 10 additions and 10 deletions

View File

@@ -18,7 +18,7 @@
** file simultaneously, or one process from reading the database while
** another is writing.
**
** @(#) $Id: pager.c,v 1.471 2008/08/20 21:47:46 drh Exp $
** @(#) $Id: pager.c,v 1.472 2008/08/21 04:35:19 danielk1977 Exp $
*/
#ifndef SQLITE_OMIT_DISKIO
#include "sqliteInt.h"
@@ -2558,7 +2558,7 @@ static int readDbPage(Pager *pPager, PgHdr *pPg, Pgno pgno){
memcpy(&pPager->dbFileVers, &((u8*)pPg->pData)[24],
sizeof(pPager->dbFileVers));
}
CODEC1(pPager, PGHDR_TO_DATA(pPg), pPg->pgno, 3);
CODEC1(pPager, pPg->pData, pPg->pgno, 3);
PAGERTRACE4("FETCH %d page %d hash(%08x)\n",
PAGERID(pPager), pPg->pgno, pager_pagehash(pPg));
return rc;