Fossil

Check-in [323e3dfcbd]
Login

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

Overview
Comment:Doc typo fix.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | tktschema-allow-drop
Files: files | file ages | folders
SHA3-256: 323e3dfcbd3c81720a983d20a7fff1a5d8a60d980bd8d2854c6bebbdb150a6ec
User & Date: stephan 2021-06-14 19:44:42.517
Context
2021-06-14
19:48
Add reminder hints to the authorizer function header comments about how to test those functions using the "test-db-prepare" command. ... (Closed-Leaf check-in: b594f486ef user: drh tags: tktschema-allow-drop)
19:44
Doc typo fix. ... (check-in: 323e3dfcbd user: stephan tags: tktschema-allow-drop)
19:36
test-db-prepare command: added --auth-report and --auth-ticket flags to install either the report or ticket schema authorizer for purposes of testing the given statement preparation. Basic sanity tests pass but needs more testing. ... (check-in: 1bb06c94d6 user: stephan tags: tktschema-allow-drop)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/report.c.
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
    }
  }
  return rc;
}

/*
** 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();







|







239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
    }
  }
  return rc;
}

/*
** Activate the ticket report query authorizer. Must be followed by an
** eventual call to report_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();