208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
|
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);
}
|
<
|
208
209
210
211
212
213
214
215
216
217
218
219
220
221
|
return rc;
}
/*
** Activate the query authorizer
*/
static void report_restrict_sql(char **pzErr){
sqlite3_set_authorizer(g.db, report_query_authorizer, (void*)pzErr);
}
static void report_unrestrict_sql(void){
sqlite3_set_authorizer(g.db, 0, 0);
}
|