/ Check-in [5bbd071d]
Login

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

Overview
Comment:Fix typos in comments. No code changes.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 5bbd071d57a8048e2ca17bf97761e4f27fc5a6bf
User & Date: drh 2016-09-28 16:04:22
Context
2016-09-28
16:05
Two more typo fixes in comments. check-in: 40c0fb0a user: drh tags: trunk
16:04
Fix typos in comments. No code changes. check-in: 5bbd071d user: drh tags: trunk
2016-09-27
00:09
Update requirements marks due to improvements in the wording of documentation. No changes to code. check-in: bf903b2e user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Show Whitespace Changes Patch

Changes to ext/session/sqlite3session.h.

   153    153     const char *zTab                /* Table name */
   154    154   );
   155    155   
   156    156   /*
   157    157   ** CAPI3REF: Set a table filter on a Session Object.
   158    158   **
   159    159   ** The second argument (xFilter) is the "filter callback". For changes to rows 
   160         -** in tables that are not attached to the Session oject, the filter is called
          160  +** in tables that are not attached to the Session object, the filter is called
   161    161   ** to determine whether changes to the table's rows should be tracked or not. 
   162    162   ** If xFilter returns 0, changes is not tracked. Note that once a table is 
   163    163   ** attached, xFilter will not be called again.
   164    164   */
   165    165   void sqlite3session_table_filter(
   166    166     sqlite3_session *pSession,      /* Session object */
   167    167     int(*xFilter)(
................................................................................
   506    506   ** This function is used to find which columns comprise the PRIMARY KEY of
   507    507   ** the table modified by the change that iterator pIter currently points to.
   508    508   ** If successful, *pabPK is set to point to an array of nCol entries, where
   509    509   ** nCol is the number of columns in the table. Elements of *pabPK are set to
   510    510   ** 0x01 if the corresponding column is part of the tables primary key, or
   511    511   ** 0x00 if it is not.
   512    512   **
   513         -** If argumet pnCol is not NULL, then *pnCol is set to the number of columns
          513  +** If argument pnCol is not NULL, then *pnCol is set to the number of columns
   514    514   ** in the table.
   515    515   **
   516    516   ** If this function is called when the iterator does not point to a valid
   517    517   ** entry, SQLITE_MISUSE is returned and the output variables zeroed. Otherwise,
   518    518   ** SQLITE_OK is returned and the output variables populated as described
   519    519   ** above.
   520    520   */

Changes to src/vdbe.c.

  4462   4462   **
  4463   4463   ** If the OPFLAG_NCHANGE flag of P2 (NB: P2 not P5) is set, then the row
  4464   4464   ** change count is incremented (otherwise not).
  4465   4465   **
  4466   4466   ** P1 must not be pseudo-table.  It has to be a real table with
  4467   4467   ** multiple rows.
  4468   4468   **
  4469         -** If P4 is not NULL then it points to a Table struture. In this case either 
         4469  +** If P4 is not NULL then it points to a Table structure. In this case either 
  4470   4470   ** the update or pre-update hook, or both, may be invoked. The P1 cursor must
  4471   4471   ** have been positioned using OP_NotFound prior to invoking this opcode in 
  4472   4472   ** this case. Specifically, if one is configured, the pre-update hook is 
  4473   4473   ** invoked if P4 is not NULL. The update-hook is invoked if one is configured, 
  4474   4474   ** P4 is not NULL, and the OPFLAG_NCHANGE flag is set in P2.
  4475   4475   **
  4476   4476   ** If the OPFLAG_ISUPDATE flag is set in P2, then P3 contains the address