Fossil

Check-in [9e940f2e1e]
Login

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

Overview
Comment:Bug-fix in ticket handling when tracing is on. (discovered in tkt-change-hook branch)
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 9e940f2e1e67738b0dffe26ef1ed0cdc63980867
User & Date: jan.nijtmans 2013-10-15 06:48:51.017
Context
2013-10-15
15:02
If _USE_32BIT_TIME_T is already set, e.g. because SQLite provides it already, don't set it again. ... (check-in: 043512c578 user: jan.nijtmans tags: trunk)
06:51
merge trunk ... (check-in: 837c85bae5 user: jan.nijtmans tags: tkt-change-hook)
06:48
Bug-fix in ticket handling when tracing is on. (discovered in tkt-change-hook branch) ... (check-in: 9e940f2e1e user: jan.nijtmans tags: trunk)
00:28
Minor changes to SQLite 3.8.1 as it nears release. ... (check-in: 93c258250b user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/tkt.c.
619
620
621
622
623
624
625

626
627
628
629
630

631
632
633
634
635
636
637
  if( g.zPath[0]=='d' ){
    /* If called from /debug_tktnew or /debug_tktedit... */
    @ <font color="blue">
    @ <p>Ticket artifact that would have been submitted:</p>
    @ <blockquote><pre>%h(blob_str(&tktchng))</pre></blockquote>
    @ <hr /></font>
    return TH_OK;

  }else if( g.thTrace ){
    Th_Trace("submit_ticket {\n<blockquote><pre>\n%h\n</pre></blockquote>\n"
             "}<br />\n",
       blob_str(&tktchng));
  }else{

    ticket_put(&tktchng, zUuid,
               (g.perm.ModTkt==0 && db_get_boolean("modreq-tkt",0)==1));
  }
  return ticket_change();
}









>
|
|
|
|
<
>







619
620
621
622
623
624
625
626
627
628
629
630

631
632
633
634
635
636
637
638
  if( g.zPath[0]=='d' ){
    /* If called from /debug_tktnew or /debug_tktedit... */
    @ <font color="blue">
    @ <p>Ticket artifact that would have been submitted:</p>
    @ <blockquote><pre>%h(blob_str(&tktchng))</pre></blockquote>
    @ <hr /></font>
    return TH_OK;
  }else{
    if( g.thTrace ){
      Th_Trace("submit_ticket {\n<blockquote><pre>\n%h\n</pre></blockquote>\n"
               "}<br />\n",
         blob_str(&tktchng));

    }
    ticket_put(&tktchng, zUuid,
               (g.perm.ModTkt==0 && db_get_boolean("modreq-tkt",0)==1));
  }
  return ticket_change();
}