Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | For the --deanalyze option to rebuild, the stat4 table should be dropped as well. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
4c8a5c98603a90060aa83de7224ab161 |
| User & Date: | mistachkin 2013-11-11 21:53:55.451 |
Context
|
2013-11-11
| ||
| 22:41 | Keep track of when the repository was last rebuilt and display it on the stats page. ... (check-in: c0242ad4d8 user: mistachkin tags: trunk) | |
| 21:53 | For the --deanalyze option to rebuild, the stat4 table should be dropped as well. ... (check-in: 4c8a5c9860 user: mistachkin tags: trunk) | |
| 21:42 | Restore the limit-reached markers in the timeline printing routine. ... (check-in: ab4d4dacf7 user: mistachkin tags: trunk) | |
Changes
Changes to src/rebuild.c.
| ︙ | ︙ | |||
605 606 607 608 609 610 611 |
db_open_repository(g.zRepositoryName);
if( newPagesize ){
db_multi_exec("PRAGMA page_size=%d", newPagesize);
runVacuum = 1;
}
if( runDeanalyze ){
db_multi_exec("DROP TABLE IF EXISTS sqlite_stat1;"
| | > | 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 |
db_open_repository(g.zRepositoryName);
if( newPagesize ){
db_multi_exec("PRAGMA page_size=%d", newPagesize);
runVacuum = 1;
}
if( runDeanalyze ){
db_multi_exec("DROP TABLE IF EXISTS sqlite_stat1;"
"DROP TABLE IF EXISTS sqlite_stat3;"
"DROP TABLE IF EXISTS sqlite_stat4;");
}
if( runAnalyze ){
fossil_print("Analyzing the database... "); fflush(stdout);
db_multi_exec("ANALYZE;");
fossil_print("done\n");
}
if( runVacuum ){
|
| ︙ | ︙ |