2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
|
p->rid, froot, fprev, firt, p->rDate
);
if( firt==0 ){
/* This is the start of a new thread, either the initial entry
** or an edit of the initial entry. */
zTitle = p->zThreadTitle;
if( zTitle==0 || zTitle[0]==0 ){
zTitle = "<i>Deleted</i>";
}
zFType = fprev ? "Edit" : "Post";
db_multi_exec(
"REPLACE INTO event(type,mtime,objid,user,comment)"
"VALUES('f',%.17g,%d,%Q,'%q: %q')",
p->rDate, rid, p->zUser, zFType, zTitle
);
|
|
|
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
|
p->rid, froot, fprev, firt, p->rDate
);
if( firt==0 ){
/* This is the start of a new thread, either the initial entry
** or an edit of the initial entry. */
zTitle = p->zThreadTitle;
if( zTitle==0 || zTitle[0]==0 ){
zTitle = "(Deleted)";
}
zFType = fprev ? "Edit" : "Post";
db_multi_exec(
"REPLACE INTO event(type,mtime,objid,user,comment)"
"VALUES('f',%.17g,%d,%Q,'%q: %q')",
p->rDate, rid, p->zUser, zFType, zTitle
);
|