Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | The configuration loader automatically creates the subscriber table if necessary. This fixes the "fossil clone" command for privileged users. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
06586ef70f36afb7f2838cd4f0e9dc1c |
User & Date: | drh 2018-07-19 15:35:46.655 |
References
2018-12-21
| ||
08:01 | Fix a problem introduced by [06586ef70f]: on cloning, only create the tables for the email notification system if any configuration data from the 'Email subscribers' group is received. ... (Closed-Leaf check-in: fca66262 user: florian tags: fix-clone-subscribers) | |
Context
2018-07-19
| ||
15:43 | Run the backoffice processing after every webpage. Fix a memory error in one of the backoffice error messages. ... (check-in: 0fdca8c7 user: drh tags: trunk) | |
15:35 | The configuration loader automatically creates the subscriber table if necessary. This fixes the "fossil clone" command for privileged users. ... (check-in: 06586ef7 user: drh tags: trunk) | |
13:29 | Improved error logging following a segfault. ... (check-in: a8d220b9 user: drh tags: trunk) | |
Changes
Changes to src/configure.c.
︙ | ︙ | |||
419 420 421 422 423 424 425 426 427 428 429 430 431 432 | } blob_append_sql(&sql, "REPLACE INTO "); }else{ blob_append_sql(&sql, "INSERT OR IGNORE INTO "); } blob_append_sql(&sql, "\"%w\"(\"%w\",mtime", &zName[1], aType[ii].zPrimKey); for(jj=2; jj<nToken; jj+=2){ blob_append_sql(&sql, ",\"%w\"", azToken[jj]); } blob_append_sql(&sql,") VALUES(%s,%s", azToken[1] /*safe-for-%s*/, azToken[0]/*safe-for-%s*/); for(jj=2; jj<nToken; jj+=2){ blob_append_sql(&sql, ",%s", azToken[jj+1] /*safe-for-%s*/); | > | 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 | } blob_append_sql(&sql, "REPLACE INTO "); }else{ blob_append_sql(&sql, "INSERT OR IGNORE INTO "); } blob_append_sql(&sql, "\"%w\"(\"%w\",mtime", &zName[1], aType[ii].zPrimKey); if( fossil_stricmp(zName,"/subscriber") ) email_schema(0); for(jj=2; jj<nToken; jj+=2){ blob_append_sql(&sql, ",\"%w\"", azToken[jj]); } blob_append_sql(&sql,") VALUES(%s,%s", azToken[1] /*safe-for-%s*/, azToken[0]/*safe-for-%s*/); for(jj=2; jj<nToken; jj+=2){ blob_append_sql(&sql, ",%s", azToken[jj+1] /*safe-for-%s*/); |
︙ | ︙ |