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 |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
f7f4a80ea0a421b69fb1d221046e8f97 |
| User & Date: | drh 2011-09-01 12:49:04.216 |
Context
|
2011-09-01
| ||
| 14:31 | substantive improvement to sha1 speed (especially on x86) ... (check-in: f2ede7da6d user: ron tags: trunk) | |
| 12:49 | Clean up a harmless compiler warning introduced by the previous check-in. ... (check-in: f7f4a80ea0 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: 7922e56655 user: drh tags: trunk) | |
Changes
Changes to src/report.c.
| ︙ | ︙ | |||
200 201 202 203 204 205 206 |
return rc;
}
/*
** Activate the query authorizer
*/
static void report_restrict_sql(char **pzErr){
| < | 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);
}
|
| ︙ | ︙ |