Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix a conflict when syncing forum posts. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: | 8a980fde215683c7abc39d2f57a3aa30 |
User & Date: | drh 2018-10-09 12:28:42 |
Context
2018-10-09
| ||
13:57 | Update to SQLite 3.25.2 final check-in: 04a21428 user: jan.nijtmans tags: trunk | |
12:28 | Fix a conflict when syncing forum posts. check-in: 8a980fde user: drh tags: trunk | |
12:22 | Fix a minor hyperlink problem in the bootstrap skin. check-in: 7ca68af0 user: drh tags: trunk | |
Changes
Changes to src/manifest.c.
2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 |
char *zFType;
char *zTitle;
schema_forum();
froot = p->zThreadRoot ? uuid_to_rid(p->zThreadRoot, 1) : rid;
fprev = p->nParent ? uuid_to_rid(p->azParent[0],1) : 0;
firt = p->zInReplyTo ? uuid_to_rid(p->zInReplyTo,1) : 0;
db_multi_exec(
"INSERT INTO forumpost(fpid,froot,fprev,firt,fmtime)"
"VALUES(%d,%d,nullif(%d,0),nullif(%d,0),%.17g)",
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;
|
| |
2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 |
char *zFType;
char *zTitle;
schema_forum();
froot = p->zThreadRoot ? uuid_to_rid(p->zThreadRoot, 1) : rid;
fprev = p->nParent ? uuid_to_rid(p->azParent[0],1) : 0;
firt = p->zInReplyTo ? uuid_to_rid(p->zInReplyTo,1) : 0;
db_multi_exec(
"REPLACE INTO forumpost(fpid,froot,fprev,firt,fmtime)"
"VALUES(%d,%d,nullif(%d,0),nullif(%d,0),%.17g)",
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;
|