Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Changes In Branch sqlite3-compat Excluding Merge-Ins
This is equivalent to a diff from 3c9dc14831 to 4bf7e4ef56
|
2017-03-07
| ||
| 11:11 | Remove RFC documentation from zlib redistribution. Motivation: [http://core.tcl.tk/tcl/info/e14d152114efee10394a7e0b4b1c0478efff52c5|bundled zlib documentation is under a potentially non-free license] check-in: eea86cee3a user: jan.nijtmans tags: trunk | |
|
2017-03-06
| ||
| 19:51 | Merge in the Fossil 2.0 and 2.1 enhancements. check-in: 0dc479305f user: drh tags: optimize-pragma | |
| 15:32 | Merge trunk Leaf check-in: 4bf7e4ef56 user: jan.nijtmans tags: sqlite3-compat | |
| 12:52 | Use "auto" hash-policy for new Docker repositories check-in: 3c9dc14831 user: jan.nijtmans tags: trunk | |
| 12:48 | For new Docker-generated repositories, use "auto" hash-policy as default: They might be synced with "sha1"-type repositories, this would render those repositories useless. check-in: 9a6256cf08 user: jan.nijtmans tags: trunk | |
|
2016-05-02
| ||
| 16:21 | Not all headers know about SQLITE_CONFIG_EXPLAIN_COMMENTS check-in: 4ba01a3758 user: jan.nijtmans tags: sqlite3-compat | |
Changes to src/db.c.
| ︙ | ︙ | |||
1949 1950 1951 1952 1953 1954 1955 |
db_open_config(0, 0);
if( zTemplate ) db_attach(zTemplate, "settingSrc");
db_begin_transaction();
if( bUseSha1 ){
g.eHashPolicy = HPOLICY_SHA1;
db_set_int("hash-policy", HPOLICY_SHA1, 0);
}
| < | 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 |
db_open_config(0, 0);
if( zTemplate ) db_attach(zTemplate, "settingSrc");
db_begin_transaction();
if( bUseSha1 ){
g.eHashPolicy = HPOLICY_SHA1;
db_set_int("hash-policy", HPOLICY_SHA1, 0);
}
db_initial_setup(zTemplate, zDate, zDefaultUser);
db_end_transaction(0);
if( zTemplate ) db_detach("settingSrc");
fossil_print("project-id: %s\n", db_get("project-code", 0));
fossil_print("server-id: %s\n", db_get("server-code", 0));
zPassword = db_text(0, "SELECT pw FROM user WHERE login=%Q", g.zLogin);
fossil_print("admin-user: %s (initial password is \"%s\")\n",
|
| ︙ | ︙ |
Changes to src/main.c.
| ︙ | ︙ | |||
555 556 557 558 559 560 561 562 563 564 565 566 567 568 |
const char *zCmdName = "unknown";
const CmdOrPage *pCmd = 0;
int rc;
if( sqlite3_libversion_number()<3014000 ){
fossil_fatal("Unsuitable SQLite version %s, must be at least 3.14.0",
sqlite3_libversion());
}
sqlite3_config(SQLITE_CONFIG_MULTITHREAD);
sqlite3_config(SQLITE_CONFIG_LOG, fossil_sqlite_log, 0);
memset(&g, 0, sizeof(g));
g.now = time(0);
g.httpHeader = empty_blob;
#ifdef FOSSIL_ENABLE_JSON
#if defined(NDEBUG)
| > | 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 |
const char *zCmdName = "unknown";
const CmdOrPage *pCmd = 0;
int rc;
if( sqlite3_libversion_number()<3014000 ){
fossil_fatal("Unsuitable SQLite version %s, must be at least 3.14.0",
sqlite3_libversion());
}
sqlite3_config(64); /* SQLITE_CONFIG_EXPLAIN_COMMENTS */
sqlite3_config(SQLITE_CONFIG_MULTITHREAD);
sqlite3_config(SQLITE_CONFIG_LOG, fossil_sqlite_log, 0);
memset(&g, 0, sizeof(g));
g.now = time(0);
g.httpHeader = empty_blob;
#ifdef FOSSIL_ENABLE_JSON
#if defined(NDEBUG)
|
| ︙ | ︙ | |||
2023 2024 2025 2026 2027 2028 2029 |
if( isDir==0 && fCreate ){
const char *zPassword;
db_create_repository(zRepo);
db_open_repository(zRepo);
db_begin_transaction();
g.eHashPolicy = HPOLICY_AUTO;
db_set_int("hash-policy", HPOLICY_AUTO, 0);
| | | 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 |
if( isDir==0 && fCreate ){
const char *zPassword;
db_create_repository(zRepo);
db_open_repository(zRepo);
db_begin_transaction();
g.eHashPolicy = HPOLICY_AUTO;
db_set_int("hash-policy", HPOLICY_AUTO, 0);
db_initial_setup(0, 0, g.zLogin);
db_end_transaction(0);
fossil_print("project-id: %s\n", db_get("project-code", 0));
fossil_print("server-id: %s\n", db_get("server-code", 0));
zPassword = db_text(0, "SELECT pw FROM user WHERE login=%Q", g.zLogin);
fossil_print("admin-user: %s (initial password is \"%s\")\n",
g.zLogin, zPassword);
cache_initialize();
|
| ︙ | ︙ |
Changes to src/shell.c.
| ︙ | ︙ | |||
5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 | memcpy(data->colSeparator,SEP_Column, 2); memcpy(data->rowSeparator,SEP_Row, 2); data->showHeader = 0; data->shellFlgs = SHFLG_Lookaside; sqlite3_config(SQLITE_CONFIG_URI, 1); sqlite3_config(SQLITE_CONFIG_LOG, shellLog, data); sqlite3_config(SQLITE_CONFIG_MULTITHREAD); sqlite3_snprintf(sizeof(mainPrompt), mainPrompt,"sqlite> "); sqlite3_snprintf(sizeof(continuePrompt), continuePrompt," ...> "); } /* ** Output text to the console in a font that attracts extra attention. */ | > | 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 | memcpy(data->colSeparator,SEP_Column, 2); memcpy(data->rowSeparator,SEP_Row, 2); data->showHeader = 0; data->shellFlgs = SHFLG_Lookaside; sqlite3_config(SQLITE_CONFIG_URI, 1); sqlite3_config(SQLITE_CONFIG_LOG, shellLog, data); sqlite3_config(SQLITE_CONFIG_MULTITHREAD); sqlite3_config(64); /* SQLITE_CONFIG_EXPLAIN_COMMENTS */ sqlite3_snprintf(sizeof(mainPrompt), mainPrompt,"sqlite> "); sqlite3_snprintf(sizeof(continuePrompt), continuePrompt," ...> "); } /* ** Output text to the console in a font that attracts extra attention. */ |
| ︙ | ︙ |