Fossil

Check-in [e0686dda41]
Login

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

Overview
Comment:Factored out an extraneous var from [1bb06c94]. No functional changes.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: e0686dda41b9990731fdb68c835c7973573f9b0aa8c6027fe1e5ff5423c82e60
User & Date: stephan 2021-06-15 17:20:06.442
Context
2021-06-16
01:10
Improvements to the "fossil cache" command. check-in: e0ebe6f033 user: drh tags: trunk
2021-06-15
21:45
Merge from trunk check-in: f445855917 user: george tags: rptview-submenu-paralink
21:37
Merge from trunk check-in: cea36e6c86 user: george tags: wcontent-subsets
21:27
Merge from trunk check-in: 1cf5c43ea5 user: george tags: th1-doc-vars
17:20
Factored out an extraneous var from [1bb06c94]. No functional changes. check-in: e0686dda41 user: stephan tags: trunk
17:11
An improved matcher algo for [76916757] and a slight padding adjustment of (.mainmenu a) elements in the default skin to work around a Firefox-specific quirk where the active link underlining did not appear. check-in: 6d9ac907e5 user: stephan tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/db.c.
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
** Invoke db_prepare() on the SQL input.  Report any errors encountered.
** This command is used to verify error detection logic in the db_prepare()
** utility routine.
*/
void db_test_db_prepare(void){
  const int fAuthReport = find_option("auth-report",0,0)!=0;
  const int fAuthSchema = find_option("auth-ticket",0,0)!=0;
  const int fAuth = fAuthReport + fAuthSchema;
  char * zReportErr = 0; /* auth-report error string. */
  int nSchemaErr = 0;    /* Number of auth-ticket errors. */
  Stmt err;

  if(fAuth>1){
    fossil_fatal("Only one of --auth-report or --auth-ticket "
                 "may be used.");
  }
  db_find_and_open_repository(0,0);
  verify_all_options();
  if( g.argc!=3 ) usage("?OPTIONS? SQL");
  if(fAuthReport){







<




|







876
877
878
879
880
881
882

883
884
885
886
887
888
889
890
891
892
893
894
** Invoke db_prepare() on the SQL input.  Report any errors encountered.
** This command is used to verify error detection logic in the db_prepare()
** utility routine.
*/
void db_test_db_prepare(void){
  const int fAuthReport = find_option("auth-report",0,0)!=0;
  const int fAuthSchema = find_option("auth-ticket",0,0)!=0;

  char * zReportErr = 0; /* auth-report error string. */
  int nSchemaErr = 0;    /* Number of auth-ticket errors. */
  Stmt err;

  if(fAuthReport + fAuthSchema > 1){
    fossil_fatal("Only one of --auth-report or --auth-ticket "
                 "may be used.");
  }
  db_find_and_open_repository(0,0);
  verify_all_options();
  if( g.argc!=3 ) usage("?OPTIONS? SQL");
  if(fAuthReport){