/ Check-in [369118ca]
Login

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

Overview
Comment:change to use sqlite_uint64 for MSVC compile; (CVS 5361)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 369118ca2e9da55f44b946559ad38a14efe723e5
User & Date: shane 2008-07-08 03:04:59
Context
2008-07-08
07:35
Prohibit the user from changing the temporary storage medium (pragma temp_store) while there is a read transaction open on the temporary database. Add tests to shared.test to cover a few more lines in btree.c. (CVS 5362) check-in: 92e0cf9a user: danielk1977 tags: trunk
03:04
change to use sqlite_uint64 for MSVC compile; (CVS 5361) check-in: 369118ca user: shane tags: trunk
02:24
Test coverage improvements in printf.c. (CVS 5360) check-in: 6f2629c7 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/test1.c.

     9      9   **    May you share freely, never taking more than you give.
    10     10   **
    11     11   *************************************************************************
    12     12   ** Code for testing all sorts of SQLite interfaces.  This code
    13     13   ** is not included in the SQLite library.  It is used for automated
    14     14   ** testing of the SQLite library.
    15     15   **
    16         -** $Id: test1.c,v 1.312 2008/07/08 02:12:37 drh Exp $
           16  +** $Id: test1.c,v 1.313 2008/07/08 03:04:59 shane Exp $
    17     17   */
    18     18   #include "sqliteInt.h"
    19     19   #include "tcl.h"
    20     20   #include <stdlib.h>
    21     21   #include <string.h>
    22     22   
    23     23   /*
................................................................................
  1340   1340     void *NotUsed,
  1341   1341     Tcl_Interp *interp,    /* The TCL interpreter that invoked this command */
  1342   1342     int argc,              /* Number of arguments */
  1343   1343     char **argv            /* Text of each argument */
  1344   1344   ){
  1345   1345     char *z;
  1346   1346     double r;
  1347         -  unsigned  x1, x2;
  1348         -  long long unsigned d;
         1347  +  unsigned int x1, x2;
         1348  +  sqlite_uint64 d;
  1349   1349     if( argc!=3 ){
  1350   1350       Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],
  1351   1351          " FORMAT STRING\"", 0);
  1352   1352       return TCL_ERROR;
  1353   1353     }
  1354   1354     if( sscanf(argv[2], "%08x%08x", &x2, &x1)!=2 ){
  1355   1355       Tcl_AppendResult(interp, "2nd argument should be 16-characters of hex", 0);