예제 #1
0
	/*
** For all dirty pages currently in the cache, invoke the specified
** callback. This is only used if the SQLITE_CHECK_PAGES macro is
** defined.
*/
	static void sqlite3PcacheIterateDirty( PCache pCache, dxIter xIter )
	{
	  PgHdr pDirty;
	  for ( pDirty = pCache.pDirty; pDirty != null; pDirty = pDirty.pDirtyNext )
	  {
		xIter( pDirty );
	  }
	}
예제 #2
0
    /*
** For all dirty pages currently in the cache, invoke the specified
** callback. This is only used if the SQLITE_CHECK_PAGES macro is
** defined.
*/
    static void sqlite3PcacheIterateDirty( PCache pCache, dxIter xIter )
    {
      PgHdr pDirty;
      for ( pDirty = pCache.pDirty; pDirty != null; pDirty = pDirty.pDirtyNext )
      {
        xIter( pDirty );
      }
    }