Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Fix to a bug in "fossil setting" output for versioned settings, introduced by the previous check-in. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
ea37cc8ed2f0f86923fc95c5cba03f2f |
| User & Date: | drh 2025-03-20 17:51:18.893 |
Context
|
2025-03-20
| ||
| 18:10 | More accurate determination of whether or not a setting is set to its default value, for display purpose with the --changes option. check-in: bff93fc819 user: drh tags: trunk | |
| 17:51 | Fix to a bug in "fossil setting" output for versioned settings, introduced by the previous check-in. check-in: ea37cc8ed2 user: drh tags: trunk | |
| 17:34 | Change default values of various settings: admin-log=ON, access-log=ON, authsync=ON, timeline-plaintext=OFF. check-in: bdf12f44e6 user: drh tags: trunk | |
Changes
Changes to src/db.c.
| ︙ | ︙ | |||
4488 4489 4490 4491 4492 4493 4494 |
if( is_false(zVal) && is_false(pSetting->def) ) noShow = 1;
}else{
if( fossil_strcmp(zVal, pSetting->def)==0 ) noShow = 1;
}
}
}
if( noShow ){
| > | | > | 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 |
if( is_false(zVal) && is_false(pSetting->def) ) noShow = 1;
}else{
if( fossil_strcmp(zVal, pSetting->def)==0 ) noShow = 1;
}
}
}
if( noShow ){
if( versioned ){
fossil_print("%-24s (versioned)\n", pSetting->name);
versioned = 0;
}
}else if( valueOnly ){
fossil_print("%s\n", db_column_text(&q, 1));
}else{
const char *zVal = (const char*)db_column_text(&q,1);
const char *zName = (const char*)db_column_text(&q,0);
if( zVal==0 ) zVal = "NULL";
if( strchr(zVal,'\n')==0 ){
|
| ︙ | ︙ |