SQLite
Check-in [19fe4a0a]
Not logged in
Overview
SHA1:19fe4a0a475bd94f491031aea7a183f7c0515cf3
Date: 2014-10-17 21:35:05
User: drh
Edited Comment: Fix a (probably harmless) bug in the CSV output mode of the command-line shell.
Original Comment: Fix a (probably harmless) but in the CSV output mode of the command-line shell.
Tags And Properties
Context
2014-10-21
01:05
[f4b22a26] If a skip-scan is a proper subset of some other scan, then adjust the cost of the skip-scan upward so that it is more costly than the other scan. Such a cost imbalance can arise under STAT4 because of difficulties in getting an accurate estimate for skip-scans. (user: drh, tags: trunk)
2014-10-20
16:34
[d380a648] Merge version-3.8.7 changes with this branch. (user: dan, tags: ota-update)
2014-10-17
21:35
[19fe4a0a] Fix a (probably harmless) bug in the CSV output mode of the command-line shell. (user: drh, tags: trunk)
11:24
[e4ab094f] Version 3.8.7 (user: drh, tags: trunk, release, version-3.8.7)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/shell.c.

878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
#endif
      if( p->cnt++==0 && p->showHeader ){
        for(i=0; i<nArg; i++){
          output_csv(p, azCol[i] ? azCol[i] : "", i<nArg-1);
        }
        fprintf(p->out,"%s",p->newline);
      }
      if( azArg>0 ){
        for(i=0; i<nArg; i++){
          output_csv(p, azArg[i], i<nArg-1);
        }
        fprintf(p->out,"%s",p->newline);
      }
#if defined(WIN32) || defined(_WIN32)
      fflush(p->out);







|







878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
#endif
      if( p->cnt++==0 && p->showHeader ){
        for(i=0; i<nArg; i++){
          output_csv(p, azCol[i] ? azCol[i] : "", i<nArg-1);
        }
        fprintf(p->out,"%s",p->newline);
      }
      if( nArg>0 ){
        for(i=0; i<nArg; i++){
          output_csv(p, azArg[i], i<nArg-1);
        }
        fprintf(p->out,"%s",p->newline);
      }
#if defined(WIN32) || defined(_WIN32)
      fflush(p->out);