/ Check-in [5d61486f]
Login

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

Overview
Comment:Fix indentation typo in btree.c. (CVS 3525)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 5d61486f0fbd21ef992879b39d4e563fbfe46596
User & Date: drh 2006-11-30 13:05:29
Context
2006-11-30
13:06
Improvements to the new performance tests. (CVS 3526) check-in: 27f56c20 user: drh tags: trunk
13:05
Fix indentation typo in btree.c. (CVS 3525) check-in: 5d61486f user: drh tags: trunk
2006-11-29
23:41
Drop a couple variables which are no longer used anywhere. (CVS 3524) check-in: 08c2cc0e user: shess 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.330 2006/11/06 21:20:26 drh Exp $
           12  +** $Id: btree.c,v 1.331 2006/11/30 13:05:29 drh Exp $
    13     13   **
    14     14   ** This file implements a external (disk-based) database using BTrees.
    15     15   ** For a detailed discussion of BTrees, refer to
    16     16   **
    17     17   **     Donald E. Knuth, THE ART OF COMPUTER PROGRAMMING, Volume 3:
    18     18   **     "Sorting And Searching", pages 473-480. Addison-Wesley
    19     19   **     Publishing Company, Reading, Massachusetts.
................................................................................
  3303   3303     assert( pCur->pPage->isInit );
  3304   3304     tryRightmost = pCur->pPage->intKey;
  3305   3305     if( pCur->eState==CURSOR_INVALID ){
  3306   3306       *pRes = -1;
  3307   3307       assert( pCur->pPage->nCell==0 );
  3308   3308       return SQLITE_OK;
  3309   3309     }
  3310         -   for(;;){
         3310  +  for(;;){
  3311   3311       int lwr, upr;
  3312   3312       Pgno chldPg;
  3313   3313       MemPage *pPage = pCur->pPage;
  3314   3314       int c = -1;  /* pRes return if table is empty must be -1 */
  3315   3315       lwr = 0;
  3316   3316       upr = pPage->nCell-1;
  3317   3317       if( !pPage->intKey && pKey==0 ){