Fossil

Check-in [211ddf89]
Login

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

Overview
Comment:Avoid initializing TH1 for running hooks when not strictly necessary.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | branch-1.28
Files: files | file ages | folders
SHA1:211ddf891a17a7d261d41f0a20da5cdbe911a689
User & Date: mistachkin 2014-01-09 20:25:10
Context
2014-01-09
21:00
Fix a possible NULL-pointer dereference in the "fossil search" command. check-in: 6e7e8fbe user: drh tags: branch-1.28
20:25
Avoid initializing TH1 for running hooks when not strictly necessary. check-in: 211ddf89 user: mistachkin tags: branch-1.28
19:32
Enforce minimum version requirement for SQLite of 3.8.2. check-in: f96162b0 user: mistachkin tags: branch-1.28
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/xfer.c.

879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
**
** if {![info exists common_done]} {
**   # ... code here
**   set common_done 1
** }
*/
int xfer_run_common_script(void){
  Th_FossilInit(TH_INIT_DEFAULT);
  return xfer_run_script(xfer_common_code(), 0);
}

/*
** If this variable is set, disable login checks.  Used for debugging
** only.
*/







<







879
880
881
882
883
884
885

886
887
888
889
890
891
892
**
** if {![info exists common_done]} {
**   # ... code here
**   set common_done 1
** }
*/
int xfer_run_common_script(void){

  return xfer_run_script(xfer_common_code(), 0);
}

/*
** If this variable is set, disable login checks.  Used for debugging
** only.
*/