/ Check-in [7b695101]
Login

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

Overview
Comment:Remove obsolete comments from the definition of the CollSeq object.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 7b6951016f5bf4c21f843f09769ba176c709e785
User & Date: drh 2012-12-06 01:03:15
Context
2012-12-06
02:56
Stop using the TCL_LIBS configuration variable when linking with Tcl. Remove superfluous 'rm' command from the "clean" target. check-in: 15512772 user: drh tags: trunk
01:03
Remove obsolete comments from the definition of the CollSeq object. check-in: 7b695101 user: drh tags: trunk
2012-12-05
19:04
Disable a couple of tests in where.test when running the "no_optimization" permutation. check-in: 5e961e37 user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/sqliteInt.h.

  1146   1146   #define COLFLAG_HIDDEN   0x0002    /* A hidden column in a virtual table */
  1147   1147   
  1148   1148   /*
  1149   1149   ** A "Collating Sequence" is defined by an instance of the following
  1150   1150   ** structure. Conceptually, a collating sequence consists of a name and
  1151   1151   ** a comparison routine that defines the order of that sequence.
  1152   1152   **
  1153         -** There may two separate implementations of the collation function, one
  1154         -** that processes text in UTF-8 encoding (CollSeq.xCmp) and another that
  1155         -** processes text encoded in UTF-16 (CollSeq.xCmp16), using the machine
  1156         -** native byte order. When a collation sequence is invoked, SQLite selects
  1157         -** the version that will require the least expensive encoding
  1158         -** translations, if any.
  1159         -**
  1160         -** The CollSeq.pUser member variable is an extra parameter that passed in
  1161         -** as the first argument to the UTF-8 comparison function, xCmp.
  1162         -** CollSeq.pUser16 is the equivalent for the UTF-16 comparison function,
  1163         -** xCmp16.
  1164         -**
  1165         -** If both CollSeq.xCmp and CollSeq.xCmp16 are NULL, it means that the
         1153  +** If CollSeq.xCmp is NULL, it means that the
  1166   1154   ** collating sequence is undefined.  Indices built on an undefined
  1167   1155   ** collating sequence may not be read or written.
  1168   1156   */
  1169   1157   struct CollSeq {
  1170   1158     char *zName;          /* Name of the collating sequence, UTF-8 encoded */
  1171   1159     u8 enc;               /* Text encoding handled by xCmp() */
  1172   1160     void *pUser;          /* First argument to xCmp() */