persistentstorage/sql/SQLite/pager.c
changeset 17 55f2396f6d25
parent 0 08ec8eefde2f
child 31 ba1c4f4a893f
equal deleted inserted replaced
15:3eacc0623088 17:55f2396f6d25
  3653   if( pPager->nPage<pPager->mxPage
  3653   if( pPager->nPage<pPager->mxPage
  3654    || pPager->lru.pFirst==0 
  3654    || pPager->lru.pFirst==0 
  3655    || MEMDB
  3655    || MEMDB
  3656    || (pPager->lru.pFirstSynced==0 && pPager->doNotSync)
  3656    || (pPager->lru.pFirstSynced==0 && pPager->doNotSync)
  3657   ){
  3657   ){
  3658     void *pData;
  3658     void *pData = 0;                   /* Initialized to placate warning */
  3659     if( pPager->nPage>=pPager->nHash ){
  3659     if( pPager->nPage>=pPager->nHash ){
  3660       pager_resize_hash_table(pPager,
  3660       pager_resize_hash_table(pPager,
  3661          pPager->nHash<256 ? 256 : pPager->nHash*2);
  3661          pPager->nHash<256 ? 256 : pPager->nHash*2);
  3662       if( pPager->nHash==0 ){
  3662       if( pPager->nHash==0 ){
  3663         rc = SQLITE_NOMEM;
  3663         rc = SQLITE_NOMEM;