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);
}
|