/ Check-in [19c6625a]
Login

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

Overview
Comment:Fix a comment typo.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 19c6625abd5b4e6a4406a8e421ae22527529e305
User & Date: drh 2011-04-27 01:00:17
Context
2011-04-27
16:05
Expose the UTF8 to MBCS conversion routine in os_win.c to external applications. check-in: 7b479b9b user: drh tags: trunk
01:00
Fix a comment typo. check-in: 19c6625a user: drh tags: trunk
2011-04-25
18:20
Test case for the ".log" command to the command-line shell. check-in: 7d0ff26a user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/vdbeaux.c.

  2925   2925     mem1.enc = pKeyInfo->enc;
  2926   2926     mem1.db = pKeyInfo->db;
  2927   2927     /* mem1.flags = 0;  // Will be initialized by sqlite3VdbeSerialGet() */
  2928   2928     VVA_ONLY( mem1.zMalloc = 0; ) /* Only needed by assert() statements */
  2929   2929   
  2930   2930     /* Compilers may complain that mem1.u.i is potentially uninitialized.
  2931   2931     ** We could initialize it, as shown here, to silence those complaints.
  2932         -  ** But in fact, mem1.u.i will never actually be used initialized, and doing 
         2932  +  ** But in fact, mem1.u.i will never actually be used uninitialized, and doing 
  2933   2933     ** the unnecessary initialization has a measurable negative performance
  2934   2934     ** impact, since this routine is a very high runner.  And so, we choose
  2935   2935     ** to ignore the compiler warnings and leave this variable uninitialized.
  2936   2936     */
  2937   2937     /*  mem1.u.i = 0;  // not needed, here to silence compiler warning */
  2938   2938     
  2939   2939     idx1 = getVarint32(aKey1, szHdr1);