Fossil

Diff
Login

Differences From Artifact [2cbbac4ce1]:

To Artifact [98b05c0222]:


238
239
240
241
242
243
244
245


246
247
248
249
250
251
252
238
239
240
241
242
243
244

245
246
247
248
249
250
251
252
253







-
+
+







      break;
    }
  }
  return rc;
}

/*
** Activate the query authorizer
** Activate the ticket report query authorizer. Must be followed by an
** eventual call to ticket_unrestrict_sql().
*/
void report_restrict_sql(char **pzErr){
  db_set_authorizer(report_query_authorizer,(void*)pzErr,"Ticket-Report");
  sqlite3_limit(g.db, SQLITE_LIMIT_VDBE_OP, 10000);
}
void report_unrestrict_sql(void){
  db_clear_authorizer();