/ Check-in [6487e70a]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:If an OOM occurs while setting the page size for the TEMP database, be sure that error gets reported back out to the interface layer.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 6487e70a1e18bb01ee692e250b41c8652e34a87c
User & Date: drh 2010-01-31 14:18:22
Context
2010-01-31
15:14
Fix a C++-ism that snuck into sqlite3_finalize(). check-in: fb96f2a2 user: drh tags: trunk
14:18
If an OOM occurs while setting the page size for the TEMP database, be sure that error gets reported back out to the interface layer. check-in: 6487e70a user: drh tags: trunk
2010-01-28
19:56
Tweaks for consistency to the SEE and CEROD API declarations in sqlite3.h. check-in: 299f7456 user: shaneh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/build.c.

  3417   3417         pParse->rc = rc;
  3418   3418         return 1;
  3419   3419       }
  3420   3420       db->aDb[1].pBt = pBt;
  3421   3421       assert( db->aDb[1].pSchema );
  3422   3422       if( SQLITE_NOMEM==sqlite3BtreeSetPageSize(pBt, db->nextPagesize, -1, 0) ){
  3423   3423         db->mallocFailed = 1;
         3424  +      return 1;
  3424   3425       }
  3425   3426       sqlite3PagerJournalMode(sqlite3BtreePager(pBt), db->dfltJournalMode);
  3426   3427     }
  3427   3428     return 0;
  3428   3429   }
  3429   3430   
  3430   3431   /*