/ Check-in [b9b22fae]
Login

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

Overview
Comment:Remove #pragma that was used to work around an obsolete issue with MSVC 2012.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | reoptimizeArm
Files: files | file ages | folders
SHA1: b9b22fae69000ca506656f9cf847e713c6304b75
User & Date: mistachkin 2015-11-05 03:26:36
Context
2015-11-05
11:47
Remove a #pragma used to work around an issues with MSVC 2012 that has been overcome but subsequent changes. check-in: 8303e4cf user: drh tags: trunk
03:26
Remove #pragma that was used to work around an obsolete issue with MSVC 2012. Closed-Leaf check-in: b9b22fae user: mistachkin tags: reoptimizeArm
2015-11-04
22:31
Performance improvements in the getAndInitPage() routine of btree.c. check-in: 2aa50f6f user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/btree.c.

  6960   6960   ** size of a cell stored within an internal node is always less than 1/4
  6961   6961   ** of the page-size, the aOvflSpace[] buffer is guaranteed to be large
  6962   6962   ** enough for all overflow cells.
  6963   6963   **
  6964   6964   ** If aOvflSpace is set to a null pointer, this function returns 
  6965   6965   ** SQLITE_NOMEM.
  6966   6966   */
  6967         -#if defined(_MSC_VER) && _MSC_VER >= 1700 && defined(_M_ARM)
  6968         -#pragma optimize("", off)
  6969         -#endif
  6970   6967   static int balance_nonroot(
  6971   6968     MemPage *pParent,               /* Parent page of siblings being balanced */
  6972   6969     int iParentIdx,                 /* Index of "the page" in pParent */
  6973   6970     u8 *aOvflSpace,                 /* page-size bytes of space for parent ovfl */
  6974   6971     int isRoot,                     /* True if pParent is a root-page */
  6975   6972     int bBulk                       /* True if this call is part of a bulk load */
  6976   6973   ){
................................................................................
  7708   7705     }
  7709   7706     for(i=0; i<nNew; i++){
  7710   7707       releasePage(apNew[i]);
  7711   7708     }
  7712   7709   
  7713   7710     return rc;
  7714   7711   }
  7715         -#if defined(_MSC_VER) && _MSC_VER >= 1700 && defined(_M_ARM)
  7716         -#pragma optimize("", on)
  7717         -#endif
  7718   7712   
  7719   7713   
  7720   7714   /*
  7721   7715   ** This function is called when the root page of a b-tree structure is
  7722   7716   ** overfull (has one or more overflow pages).
  7723   7717   **
  7724   7718   ** A new child page is allocated and the contents of the current root