Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Give a fatal error, not a panic, if unable to open the database file. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
c0eca1f94ca69cb333c55ab3df8efc09 |
| User & Date: | drh 2019-01-15 19:41:08.045 |
Context
|
2019-01-16
| ||
| 00:11 | Detect when the repository associated with a check-out has been swapped out for a clone with different RID values, and give the user a warning. Still to do: automatically recover. check-in: 1b114d241f user: drh tags: trunk | |
|
2019-01-15
| ||
| 19:41 | Give a fatal error, not a panic, if unable to open the database file. check-in: c0eca1f94c user: drh tags: trunk | |
| 00:02 | Fix typo in the TH1 wiki page. check-in: 049813ac20 user: mistachkin tags: trunk | |
Changes
Changes to src/db.c.
| ︙ | ︙ | |||
84 85 86 87 88 89 90 |
else
#endif /* FOSSIL_ENABLE_JSON */
if( g.xferPanic && g.cgiOutput==1 ){
cgi_reset_content();
@ error Database\serror:\s%F(z)
cgi_reply();
}
| | | 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
else
#endif /* FOSSIL_ENABLE_JSON */
if( g.xferPanic && g.cgiOutput==1 ){
cgi_reset_content();
@ error Database\serror:\s%F(z)
cgi_reply();
}
fossil_fatal("Database error: %s", z);
}
/*
** All static variable that a used by only this file are gathered into
** the following structure.
*/
static struct DbLocalData {
|
| ︙ | ︙ |