/ Check-in [320b5295]
Login

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

Overview
Comment:Fix an incorrect type cast in an assignment in vdbe.c.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 320b5295da57023399c7b9eed82eae40cf619803
User & Date: dan 2013-04-08 10:38:57
Context
2013-04-08
14:41
Merge the multi-process tester into trunk. check-in: ea53c45d user: drh tags: trunk
10:38
Fix an incorrect type cast in an assignment in vdbe.c. check-in: 320b5295 user: dan tags: trunk
2013-04-06
18:06
Increase the default SQLITE_MAX_SCHEMA_RETRY to 50. Make sure that macro covers every case where a prepared statement might need to be reprepared due to a schema change. The sqlite3_exec() interface now uses sqlite3_prepare_v2(). check-in: c1d7304c user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/vdbe.c.

  3511   3511         /* The next line of code computes as follows, only faster:
  3512   3512         **   if( oc==OP_SeekGt || oc==OP_SeekLe ){
  3513   3513         **     r.flags = UNPACKED_INCRKEY;
  3514   3514         **   }else{
  3515   3515         **     r.flags = 0;
  3516   3516         **   }
  3517   3517         */
  3518         -      r.flags = (u16)(UNPACKED_INCRKEY * (1 & (oc - OP_SeekLt)));
         3518  +      r.flags = (u8)(UNPACKED_INCRKEY * (1 & (oc - OP_SeekLt)));
  3519   3519         assert( oc!=OP_SeekGt || r.flags==UNPACKED_INCRKEY );
  3520   3520         assert( oc!=OP_SeekLe || r.flags==UNPACKED_INCRKEY );
  3521   3521         assert( oc!=OP_SeekGe || r.flags==0 );
  3522   3522         assert( oc!=OP_SeekLt || r.flags==0 );
  3523   3523   
  3524   3524         r.aMem = &aMem[pOp->p3];
  3525   3525   #ifdef SQLITE_DEBUG