/ Check-in [b9e047b9]
Login

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

Overview
Comment:Slight change to the --timer output on wordcount for better display on windows: Avoid showing the full pathname of the executable.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:b9e047b9e3c2ee4df4a2d921db62f590fa5452d3
User & Date: drh 2013-11-21 22:02:52
Context
2013-11-21
23:37
Fix a harmless clang warning in the command-line shell. check-in: 3d47a556 user: drh tags: trunk
22:02
Slight change to the --timer output on wordcount for better display on windows: Avoid showing the full pathname of the executable. check-in: b9e047b9 user: drh tags: trunk
21:59
Changes some offset and amount parameters from "int" to "u32" to avoid harmless signed/unsigned comparison warnings. check-in: 4e8c5d07 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to test/wordcount.c.

469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
    }
    sqlite3_finalize(pSelect);
  }


  if( showTimer ){
    sqlite3_int64 elapseTime = realTime() - startTime;
    fprintf(stderr, "%3d.%03d", (int)(elapseTime/1000),
                                   (int)(elapseTime%1000));
    for(i=0; i<argc; i++) if( i!=showTimer ) fprintf(stderr, " %s", argv[i]);
    fprintf(stderr, "\n");
  }

  if( showSummary ){
    sqlite3_create_function(db, "checksum", -1, SQLITE_UTF8, 0,
                            0, checksumStep, checksumFinalize);
    sqlite3_exec(db, 







|

|







469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
    }
    sqlite3_finalize(pSelect);
  }


  if( showTimer ){
    sqlite3_int64 elapseTime = realTime() - startTime;
    fprintf(stderr, "%3d.%03d wordcount", (int)(elapseTime/1000),
                                   (int)(elapseTime%1000));
    for(i=1; i<argc; i++) if( i!=showTimer ) fprintf(stderr, " %s", argv[i]);
    fprintf(stderr, "\n");
  }

  if( showSummary ){
    sqlite3_create_function(db, "checksum", -1, SQLITE_UTF8, 0,
                            0, checksumStep, checksumFinalize);
    sqlite3_exec(db,