Changes On Branch stephan-hack
Not logged in

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

Changes In Branch stephan-hack Excluding Merge-Ins

This is equivalent to a diff from f93a082391 to 21af96623e

2011-10-20
16:54
Cherrypick the [21af96623e6b337] change onto trunk. check-in: 5abc243042 user: drh tags: trunk
16:31
s/'%s'/%Q/ in rptshow(). Closed-Leaf check-in: 21af96623e user: stephan tags: stephan-hack
16:28
merged in trunk for clean base in code review tweaks. check-in: 5a1ec00745 user: stephan tags: stephan-hack
15:39
added version numbers to the changes where i could find a specific commit. check-in: f93a082391 user: stephan tags: trunk
15:07
pulled in changelog 1.20. check-in: 2e43ff6f7f user: stephan tags: trunk

Changes to src/report.c.

1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
  }else{
    rn = atoi(zRep);
    if( rn ){
      db_prepare(&q,
       "SELECT sqlcode FROM reportfmt WHERE rn=%d", rn);
    }else{
      db_prepare(&q,
       "SELECT sqlcode FROM reportfmt WHERE title='%s'", zRep);
    }
    if( db_step(&q)!=SQLITE_ROW ){
      db_finalize(&q);
      rpt_list_reports();
      fossil_fatal("unknown report format(%s)!",zRep);
    }
    zSql = db_column_malloc(&q, 0);






|







1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
  }else{
    rn = atoi(zRep);
    if( rn ){
      db_prepare(&q,
       "SELECT sqlcode FROM reportfmt WHERE rn=%d", rn);
    }else{
      db_prepare(&q,
       "SELECT sqlcode FROM reportfmt WHERE title=%Q", zRep);
    }
    if( db_step(&q)!=SQLITE_ROW ){
      db_finalize(&q);
      rpt_list_reports();
      fossil_fatal("unknown report format(%s)!",zRep);
    }
    zSql = db_column_malloc(&q, 0);