/ Check-in [2ce625fd]
Login

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

Overview
Comment:Work around an optimization issue with the MSVC compiler for ARM.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | sessions-3.7.14
Files: files | file ages | folders
SHA1: 2ce625fdbee78b2acbe3aa19b01ff92241c0d598
User & Date: drh 2012-10-03 18:26:39
Context
2012-10-04
22:45
Merge the 3.7.14.1 release including the fix for the LEFT JOIN problem into the sessions branch. Leaf check-in: 17644c0e user: drh tags: sessions-3.7.14
2012-10-03
18:26
Work around an optimization issue with the MSVC compiler for ARM. check-in: 2ce625fd user: drh tags: sessions-3.7.14
18:20
A branch off of the sessions branch corresponding to release 3.7.14. check-in: 86633e01 user: drh tags: sessions-3.7.14
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/btree.c.

  5918   5918   ** size of a cell stored within an internal node is always less than 1/4
  5919   5919   ** of the page-size, the aOvflSpace[] buffer is guaranteed to be large
  5920   5920   ** enough for all overflow cells.
  5921   5921   **
  5922   5922   ** If aOvflSpace is set to a null pointer, this function returns 
  5923   5923   ** SQLITE_NOMEM.
  5924   5924   */
         5925  +#if defined(_MSC_VER) && _MSC_VER >= 1700 && defined(_M_ARM)
         5926  +#pragma optimize("", off)
         5927  +#endif
  5925   5928   static int balance_nonroot(
  5926   5929     MemPage *pParent,               /* Parent page of siblings being balanced */
  5927   5930     int iParentIdx,                 /* Index of "the page" in pParent */
  5928   5931     u8 *aOvflSpace,                 /* page-size bytes of space for parent ovfl */
  5929   5932     int isRoot,                     /* True if pParent is a root-page */
  5930   5933     int bBulk                       /* True if this call is part of a bulk load */
  5931   5934   ){
................................................................................
  6548   6551     }
  6549   6552     for(i=0; i<nNew; i++){
  6550   6553       releasePage(apNew[i]);
  6551   6554     }
  6552   6555   
  6553   6556     return rc;
  6554   6557   }
         6558  +#if defined(_MSC_VER) && _MSC_VER >= 1700 && defined(_M_ARM)
         6559  +#pragma optimize("", on)
         6560  +#endif
  6555   6561   
  6556   6562   
  6557   6563   /*
  6558   6564   ** This function is called when the root page of a b-tree structure is
  6559   6565   ** overfull (has one or more overflow pages).
  6560   6566   **
  6561   6567   ** A new child page is allocated and the contents of the current root