Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | merge trunk |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | sqlite3-compat |
| Files: | files | file ages | folders |
| SHA1: |
0437cf965c400072bbc3315d1ce0ca67 |
| User & Date: | jan.nijtmans 2016-05-02 16:18:00.000 |
Context
|
2016-05-02
| ||
| 16:21 | Not all headers know about SQLITE_CONFIG_EXPLAIN_COMMENTS ... (check-in: 4ba01a3758 user: jan.nijtmans tags: sqlite3-compat) | |
| 16:18 | merge trunk ... (check-in: 0437cf965c user: jan.nijtmans tags: sqlite3-compat) | |
| 16:14 | Update the built-in SQLite to an early beta of 3.13.0 for testing. ... (check-in: fc5f1728d5 user: drh tags: trunk) | |
|
2015-04-08
| ||
| 13:49 | Merge trunk ... (check-in: ff571668c4 user: jan.nijtmans tags: sqlite3-compat) | |
Changes
Changes to src/db.c.
| ︙ | ︙ | |||
1776 1777 1778 1779 1780 1781 1782 | } db_create_repository(g.argv[2]); db_open_repository(g.argv[2]); db_open_config(0, 0); if( zTemplate ) db_attach(zTemplate, "settingSrc"); db_begin_transaction(); | < | 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 |
}
db_create_repository(g.argv[2]);
db_open_repository(g.argv[2]);
db_open_config(0, 0);
if( zTemplate ) db_attach(zTemplate, "settingSrc");
db_begin_transaction();
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.
| ︙ | ︙ | |||
594 595 596 597 598 599 600 601 602 603 604 605 606 607 |
const char *zCmdName = "unknown";
int idx;
int rc;
if( sqlite3_libversion_number()<3010000 ){
fossil_fatal("Unsuitable SQLite version %s, must be at least 3.10.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)
| > | 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 |
const char *zCmdName = "unknown";
int idx;
int rc;
if( sqlite3_libversion_number()<3010000 ){
fossil_fatal("Unsuitable SQLite version %s, must be at least 3.10.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)
|
| ︙ | ︙ | |||
2233 2234 2235 2236 2237 2238 2239 |
file_simplify_name(g.zRepositoryName, -1, 0);
}else{
if( isDir==0 && fCreate ){
const char *zPassword;
db_create_repository(zRepo);
db_open_repository(zRepo);
db_begin_transaction();
| | | 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 |
file_simplify_name(g.zRepositoryName, -1, 0);
}else{
if( isDir==0 && fCreate ){
const char *zPassword;
db_create_repository(zRepo);
db_open_repository(zRepo);
db_begin_transaction();
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.
| ︙ | ︙ | |||
5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 | 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. */ | > | 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 | 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(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. */ |
| ︙ | ︙ |