Differences From Artifact [190c267f99]:
- File src/main.c — part of check-in [d048d86d0d] at 2020-04-24 02:17:51 on branch restricted-self-registration — Add a new setting to disallow anonymous subscriptions. Anonymous subscriptions are enabled by default. (user: drh size: 105176) [more...]
To Artifact [08ef74f4c7]:
- File src/main.c — part of check-in [67c420402f] at 2020-05-27 13:28:08 on branch auto-webpage-txn — Demonstrate how the mkindex.c utility could be extended to automatically put a complete web-page construction inside a transaction. (user: drh size: 105325)
| ︙ | |||
1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 | 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 | + + |
rc = Th_WebpageHook(pCmd->zName+1, pCmd->eCmdFlags);
}else{
rc = TH_OK;
}
if( rc==TH_OK || rc==TH_RETURN || rc==TH_CONTINUE ){
if( rc==TH_OK || rc==TH_RETURN ){
#endif
if( pCmd->eCmdFlags & CMDFLAG_RDTRANS ) db_begin_transaction();
pCmd->xFunc();
if( pCmd->eCmdFlags & CMDFLAG_RDTRANS ) db_commit_transaction();
#ifdef FOSSIL_ENABLE_TH1_HOOKS
}
if( !g.fNoThHook && (rc==TH_OK || rc==TH_CONTINUE) ){
Th_WebpageNotify(pCmd->zName+1, pCmd->eCmdFlags);
}
}
}
|
| ︙ |