/ Check-in [7c26d2b4]
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 (harmless) compiler warnings in some of the TCL-based test code.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 7c26d2b47025edaa289bd4a383b5c1536482ec11
User & Date: drh 2016-02-19 13:29:52
Context
2016-02-19
14:10
Make sure WhereClause objects are fully initialized before use when planning OR queries. check-in: 16205302 user: drh tags: trunk
13:29
Fix (harmless) compiler warnings in some of the TCL-based test code. check-in: 7c26d2b4 user: drh tags: trunk
13:20
Add an SQLITE_DISABLE_INTRINSIC #ifdef to the sqlite3Put4Byte() function. check-in: ba9c6827 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/test1.c.

  3150   3150     void * clientData,
  3151   3151     Tcl_Interp *interp,
  3152   3152     int objc,
  3153   3153     Tcl_Obj *CONST objv[]
  3154   3154   ){
  3155   3155     sqlite3_stmt *pStmt;
  3156   3156     int idx;
  3157         -  i64 n;
         3157  +  Tcl_WideInt n;
  3158   3158     int rc;
  3159   3159   
  3160   3160     if( objc!=4 ){
  3161   3161       Tcl_WrongNumArgs(interp, 1, objv, "STMT IDX N");
  3162   3162       return TCL_ERROR;
  3163   3163     }
  3164   3164   

Changes to src/test_blob.c.

   101    101     int objc,                       /* Number of arguments */
   102    102     Tcl_Obj *CONST objv[]           /* Command arguments */
   103    103   ){
   104    104     sqlite3 *db;
   105    105     const char *zDb;
   106    106     const char *zTable;
   107    107     const char *zColumn;
   108         -  sqlite_int64 iRowid;
          108  +  Tcl_WideInt iRowid;
   109    109     int flags;
   110    110     const char *zVarname;
   111    111     int nVarname;
   112    112   
   113    113     sqlite3_blob *pBlob = (sqlite3_blob*)0xFFFFFFFF;
   114    114     int rc;
   115    115