/ Check-in [890dbab2]
Login

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

Overview
Comment:Fix a typo in (6861): "ifndef SQLITE_TEST" -> "ifdef SQLITE_TEST". (CVS 6865)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 890dbab28c3a1af4a1e01221318c9200574139e7
User & Date: danielk1977 2009-07-08 18:50:55
Context
2009-07-09
02:24
Simplifications and additional testcase() macros for btree.c. (CVS 6866) check-in: 1b8c3a82 user: drh tags: trunk
2009-07-08
18:50
Fix a typo in (6861): "ifndef SQLITE_TEST" -> "ifdef SQLITE_TEST". (CVS 6865) check-in: 890dbab2 user: danielk1977 tags: trunk
18:45
Revert part of (6860) that was accidentally checked in. (CVS 6864) check-in: 11e295cc user: danielk1977 tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/btree.c.

     5      5   ** a legal notice, here is a blessing:
     6      6   **
     7      7   **    May you do good and not evil.
     8      8   **    May you find forgiveness for yourself and forgive others.
     9      9   **    May you share freely, never taking more than you give.
    10     10   **
    11     11   *************************************************************************
    12         -** $Id: btree.c,v 1.664 2009/07/08 18:45:38 danielk1977 Exp $
           12  +** $Id: btree.c,v 1.665 2009/07/08 18:50:55 danielk1977 Exp $
    13     13   **
    14     14   ** This file implements a external (disk-based) database using BTrees.
    15     15   ** See the header comment on "btreeInt.h" for additional information.
    16     16   ** Including a description of file format and an overview of operation.
    17     17   */
    18     18   #include "btreeInt.h"
    19     19   
................................................................................
  7043   7043       }
  7044   7044   #endif
  7045   7045     }
  7046   7046     sqlite3BtreeLeave(p);
  7047   7047     return rc;
  7048   7048   }
  7049   7049   
  7050         -#ifndef SQLITE_TEST
         7050  +#ifdef SQLITE_TEST
  7051   7051   /*
  7052   7052   ** Return the flag byte at the beginning of the page that the cursor
  7053   7053   ** is currently pointing to.
  7054   7054   */
  7055   7055   int sqlite3BtreeFlags(BtCursor *pCur){
  7056   7056     /* TODO: What about CURSOR_REQUIRESEEK state? Probably need to call
  7057   7057     ** restoreCursorPosition() here.