/ Check-in [040d5d51]
Login

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

Overview
Comment:Fix typos in the comments of the sessions extension, one of which affects the generated documentation. No code changes.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 040d5d515bcb37bea05e0d156dbaf066c68052ac574f1b0b2cb118d473a353e0
User & Date: drh 2019-03-29 11:48:10
Context
2019-03-29
13:17
Fix a fairly obscure problem causing the planner to sometimes choose sub-optimal plans for a query with a single virtual table in the FROM clause, and at least one IN(...) constraint in the WHERE clause. check-in: f5752517 user: dan tags: trunk
11:48
Fix typos in the comments of the sessions extension, one of which affects the generated documentation. No code changes. check-in: 040d5d51 user: drh tags: trunk
01:15
Recover a some of the performance lost by window function alias fix two check-ins back. check-in: 965cbcea user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to ext/session/sqlite3session.c.

  3858   3858       if( rc!=SQLITE_ROW ) rc = sqlite3_reset(pSelect);
  3859   3859     }
  3860   3860   
  3861   3861     return rc;
  3862   3862   }
  3863   3863   
  3864   3864   /*
  3865         -** This function is called from within sqlite3changset_apply_v2() when
         3865  +** This function is called from within sqlite3changeset_apply_v2() when
  3866   3866   ** a conflict is encountered and resolved using conflict resolution
  3867   3867   ** mode eType (either SQLITE_CHANGESET_OMIT or SQLITE_CHANGESET_REPLACE)..
  3868   3868   ** It adds a conflict resolution record to the buffer in 
  3869   3869   ** SessionApplyCtx.rebase, which will eventually be returned to the caller
  3870   3870   ** of apply_v2() as the "rebase" buffer.
  3871   3871   **
  3872   3872   ** Return SQLITE_OK if successful, or an SQLite error code otherwise.

Changes to ext/session/sqlite3session.h.

  1411   1411   ** CAPI3REF: Rebase a changeset
  1412   1412   ** EXPERIMENTAL
  1413   1413   **
  1414   1414   ** Argument pIn must point to a buffer containing a changeset nIn bytes
  1415   1415   ** in size. This function allocates and populates a buffer with a copy
  1416   1416   ** of the changeset rebased rebased according to the configuration of the
  1417   1417   ** rebaser object passed as the first argument. If successful, (*ppOut)
  1418         -** is set to point to the new buffer containing the rebased changset and 
         1418  +** is set to point to the new buffer containing the rebased changeset and 
  1419   1419   ** (*pnOut) to its size in bytes and SQLITE_OK returned. It is the
  1420   1420   ** responsibility of the caller to eventually free the new buffer using
  1421   1421   ** sqlite3_free(). Otherwise, if an error occurs, (*ppOut) and (*pnOut)
  1422   1422   ** are set to zero and an SQLite error code returned.
  1423   1423   */
  1424   1424   int sqlite3rebaser_rebase(
  1425   1425     sqlite3_rebaser*,