/ Check-in [df9957b9]
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:Fix comment typo in analyze.c. Ticket #2434. (CVS 4101)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: df9957b94737b76ed7b1de77bb22bb27c7ae2dcf
User & Date: drh 2007-06-20 13:37:31
Context
2007-06-20
15:14
Remove an unused variable from btree.c. (CVS 4102) check-in: cb47a829 user: drh tags: trunk
13:37
Fix comment typo in analyze.c. Ticket #2434. (CVS 4101) check-in: df9957b9 user: drh tags: trunk
13:10
Fix a bug in the command-line shell that prevents the reading of the ".sqliterc" file. Ticket #2433. (CVS 4100) check-in: 6eaf29f5 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/analyze.c.

     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     12   ** This file contains code associated with the ANALYZE command.
    13     13   **
    14         -** @(#) $Id: analyze.c,v 1.18 2007/05/12 12:08:51 drh Exp $
           14  +** @(#) $Id: analyze.c,v 1.19 2007/06/20 13:37:31 drh Exp $
    15     15   */
    16     16   #ifndef SQLITE_OMIT_ANALYZE
    17     17   #include "sqliteInt.h"
    18     18   
    19     19   /*
    20     20   ** This routine generates code that opens the sqlite_stat1 table on cursor
    21     21   ** iStatCur.
................................................................................
   170    170       }
   171    171       sqlite3VdbeResolveLabel(v, endOfLoop);
   172    172       sqlite3VdbeAddOp(v, OP_Next, iIdxCur, topOfLoop);
   173    173       sqlite3VdbeAddOp(v, OP_Close, iIdxCur, 0);
   174    174   
   175    175       /* Store the results.  
   176    176       **
   177         -    ** The result is a single row of the sqlite_stmt1 table.  The first
          177  +    ** The result is a single row of the sqlite_stat1 table.  The first
   178    178       ** two columns are the names of the table and index.  The third column
   179    179       ** is a string composed of a list of integer statistics about the
   180    180       ** index.  The first integer in the list is the total number of entires
   181    181       ** in the index.  There is one additional integer in the list for each
   182    182       ** column of the table.  This additional integer is a guess of how many
   183    183       ** rows of the table the index will select.  If D is the count of distinct
   184    184       ** values and K is the total number of rows, then the integer is computed