/ Check-in [9fab9edd]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

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 | branch-3.7.14
Files: files | file ages | folders
SHA1: 9fab9edd0dfa6c887cf89ec6cea58f3313dd2d1a
User & Date: drh 2012-10-02 23:26:39
Context
2012-10-03
11:11
Fix the TCL interface so that SQL functions implemented in TCL honor the "nullvalue" setting. Also remove from the TCL interface some unused legacy UTF8 translation code left over from SQLite2. check-in: 9bf64b66 user: drh tags: branch-3.7.14
2012-10-02
23:26
Work around an optimization issue with the MSVC compiler for ARM. check-in: 9fab9edd user: drh tags: branch-3.7.14
2012-09-03
15:42
Version 3.7.14 check-in: c0d89d4a user: drh tags: trunk, release, version-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