/ Check-in [d16523e5]
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 another UTF conversion problem on x64. Ticket #2008. (CVS 3466)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: d16523e555afa1e6e89409f614fd665261fa3865
User & Date: drh 2006-10-05 11:43:53
Context
2006-10-05
21:48
Fix incorrect doclist initialization in term_select_all(). docListRestrictColumn() generates a DL_POSITIONS doclist, which means that after the first doclist is processed, the second doclist is initialized as DL_POSITIONS, but with DL_POSITIONS_OFFSETS data. (Note that DL_DEFAULT is now DL_POSITIONS, which masks this bug.) (CVS 3467) check-in: 144e3f11 user: shess tags: trunk
11:43
Fix another UTF conversion problem on x64. Ticket #2008. (CVS 3466) check-in: d16523e5 user: drh tags: trunk
2006-10-04
17:35
The snippet generator adds ellipsis between text from different columns. (CVS 3465) check-in: 6cf1fb9f user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/utf.c.

     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 routines used to translate between UTF-8, 
    13     13   ** UTF-16, UTF-16BE, and UTF-16LE.
    14     14   **
    15         -** $Id: utf.c,v 1.41 2006/10/04 15:23:22 drh Exp $
           15  +** $Id: utf.c,v 1.42 2006/10/05 11:43:53 drh Exp $
    16     16   **
    17     17   ** Notes on UTF-8:
    18     18   **
    19     19   **   Byte-0    Byte-1    Byte-2    Byte-3    Value
    20     20   **  0xxxxxxx                                 00000000 00000000 0xxxxxxx
    21     21   **  110yyyyy  10xxxxxx                       00000000 00000yyy yyxxxxxx
    22     22   **  1110zzzz  10yyyyyy  10xxxxxx             00000000 zzzzyyyy yyxxxxxx
................................................................................
   552    552   #if defined(SQLITE_TEST)
   553    553   /*
   554    554   ** This routine is called from the TCL test function "translate_selftest".
   555    555   ** It checks that the primitives for serializing and deserializing
   556    556   ** characters in each encoding are inverses of each other.
   557    557   */
   558    558   void sqlite3utfSelfTest(){
   559         -  int i;
          559  +  unsigned int i;
   560    560     unsigned char zBuf[20];
   561    561     unsigned char *z;
   562    562     int n;
   563    563     unsigned int c;
   564    564   
   565    565     for(i=0; i<0x00110000; i++){
   566    566       z = zBuf;