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