Fossil

Check-in [f7f4a80e]
Login

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

Overview
Comment:Clean up a harmless compiler warning introduced by the previous check-in.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: f7f4a80ea0a421b69fb1d221046e8f97618078bb
User & Date: drh 2011-09-01 12:49:04
Context
2011-09-01
14:31
substantive improvement to sha1 speed (especially on x86) check-in: f2ede7da user: ron tags: trunk
12:49
Clean up a harmless compiler warning introduced by the previous check-in. check-in: f7f4a80e user: drh tags: trunk
11:33
Make sure the perferred timezone format has been queried prior to running user SQL, since while running user SQL access to the CONFIG table is restricted. check-in: 7922e566 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/report.c.

200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
  return rc;
}

/*
** Activate the query authorizer
*/
static void report_restrict_sql(char **pzErr){
  char *zErr;
  (void)fossil_localtime(0);
  sqlite3_set_authorizer(g.db, report_query_authorizer, (void*)pzErr);
}
static void report_unrestrict_sql(void){
  sqlite3_set_authorizer(g.db, 0, 0);
}








<







200
201
202
203
204
205
206

207
208
209
210
211
212
213
  return rc;
}

/*
** Activate the query authorizer
*/
static void report_restrict_sql(char **pzErr){

  (void)fossil_localtime(0);
  sqlite3_set_authorizer(g.db, report_query_authorizer, (void*)pzErr);
}
static void report_unrestrict_sql(void){
  sqlite3_set_authorizer(g.db, 0, 0);
}