/ Check-in [78cd64e2]
Login

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

Overview
Comment:Fix some comments in sqlite3session.h. No changes to code.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 78cd64e202fcbe9ce69070b0f48ccd0c6b48538d
User & Date: dan 2016-08-27 18:35:55
Context
2016-08-27
20:21
Fix typos in comments. No changes to running code. check-in: a07269f2 user: drh tags: trunk
18:35
Fix some comments in sqlite3session.h. No changes to code. check-in: 78cd64e2 user: dan tags: trunk
18:34
Fixes to fts5 snippet() function. check-in: d464a7b1 user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to ext/session/sqlite3session.h.

   723    723     void *pB,                       /* Pointer to buffer containing changeset B */
   724    724     int *pnOut,                     /* OUT: Number of bytes in output changeset */
   725    725     void **ppOut                    /* OUT: Buffer containing output changeset */
   726    726   );
   727    727   
   728    728   
   729    729   /*
   730         -** Changegroup handle.
          730  +** CAPI3REF: Changegroup Handle
   731    731   */
   732    732   typedef struct sqlite3_changegroup sqlite3_changegroup;
   733    733   
   734    734   /*
   735         -** CAPI3REF: Combine two or more changesets into a single changeset.
          735  +** CAPI3REF: Create A New Changegroup Object
   736    736   **
   737    737   ** An sqlite3_changegroup object is used to combine two or more changesets
   738    738   ** (or patchsets) into a single changeset (or patchset). A single changegroup
   739    739   ** object may combine changesets or patchsets, but not both. The output is
   740    740   ** always in the same format as the input.
   741    741   **
   742    742   ** If successful, this function returns SQLITE_OK and populates (*pp) with
................................................................................
   765    765   ** As well as the regular sqlite3changegroup_add() and 
   766    766   ** sqlite3changegroup_output() functions, also available are the streaming
   767    767   ** versions sqlite3changegroup_add_strm() and sqlite3changegroup_output_strm().
   768    768   */
   769    769   int sqlite3changegroup_new(sqlite3_changegroup **pp);
   770    770   
   771    771   /*
          772  +** CAPI3REF: Add A Changeset To A Changegroup
          773  +**
   772    774   ** Add all changes within the changeset (or patchset) in buffer pData (size
   773    775   ** nData bytes) to the changegroup. 
   774    776   **
   775    777   ** If the buffer contains a patchset, then all prior calls to this function
   776    778   ** on the same changegroup object must also have specified patchsets. Or, if
   777    779   ** the buffer contains a changeset, so must have the earlier calls to this
   778    780   ** function. Otherwise, SQLITE_ERROR is returned and no changes are added
................................................................................
   840    842   ** final contents of the changegroup is undefined.
   841    843   **
   842    844   ** If no error occurs, SQLITE_OK is returned.
   843    845   */
   844    846   int sqlite3changegroup_add(sqlite3_changegroup*, int nData, void *pData);
   845    847   
   846    848   /*
          849  +** CAPI3REF: Obtain A Composite Changeset From A Changegroup
          850  +**
   847    851   ** Obtain a buffer containing a changeset (or patchset) representing the
   848    852   ** current contents of the changegroup. If the inputs to the changegroup
   849    853   ** were themselves changesets, the output is a changeset. Or, if the
   850    854   ** inputs were patchsets, the output is also a patchset.
   851    855   **
   852    856   ** As with the output of the sqlite3session_changeset() and
   853    857   ** sqlite3session_patchset() functions, all changes related to a single
................................................................................
   868    872   int sqlite3changegroup_output(
   869    873     sqlite3_changegroup*,
   870    874     int *pnData,                    /* OUT: Size of output buffer in bytes */
   871    875     void **ppData                   /* OUT: Pointer to output buffer */
   872    876   );
   873    877   
   874    878   /*
   875         -** Delete a changegroup object.
          879  +** CAPI3REF: Delete A Changegroup Object
   876    880   */
   877    881   void sqlite3changegroup_delete(sqlite3_changegroup*);
   878    882   
   879    883   /*
   880    884   ** CAPI3REF: Apply A Changeset To A Database
   881    885   **
   882    886   ** Apply a changeset to a database. This function attempts to update the