Fossil SCM

Undocument the --deanalyze option to "fossil rebuild". It was added by [85233c40c9bb05a8], but more recently (specifically in check-in [7815d015f3b5a663]) it has become desirable for the repository database to be analyzed.

drh 2023-12-27 11:53 trunk
Commit fa9d3fb22baa64bf41513715e0078840c6c86e289889a2347b9ebe6288b7009c
2 files changed +1 -1 +1 -2
+1 -1
--- src/allrepo.c
+++ src/allrepo.c
@@ -284,11 +284,11 @@
284284
collect_argument(&extra, "compress",0);
285285
collect_argument(&extra, "compress-only",0);
286286
collect_argument(&extra, "noverify",0);
287287
collect_argument_value(&extra, "pagesize", 0);
288288
collect_argument(&extra, "vacuum",0);
289
- collect_argument(&extra, "deanalyze",0);
289
+ collect_argument(&extra, "deanalyze",0); /* Legacy only - not recommended */
290290
collect_argument(&extra, "analyze",0);
291291
collect_argument(&extra, "wal",0);
292292
collect_argument(&extra, "stats",0);
293293
collect_argument(&extra, "index",0);
294294
collect_argument(&extra, "noindex",0);
295295
--- src/allrepo.c
+++ src/allrepo.c
@@ -284,11 +284,11 @@
284 collect_argument(&extra, "compress",0);
285 collect_argument(&extra, "compress-only",0);
286 collect_argument(&extra, "noverify",0);
287 collect_argument_value(&extra, "pagesize", 0);
288 collect_argument(&extra, "vacuum",0);
289 collect_argument(&extra, "deanalyze",0);
290 collect_argument(&extra, "analyze",0);
291 collect_argument(&extra, "wal",0);
292 collect_argument(&extra, "stats",0);
293 collect_argument(&extra, "index",0);
294 collect_argument(&extra, "noindex",0);
295
--- src/allrepo.c
+++ src/allrepo.c
@@ -284,11 +284,11 @@
284 collect_argument(&extra, "compress",0);
285 collect_argument(&extra, "compress-only",0);
286 collect_argument(&extra, "noverify",0);
287 collect_argument_value(&extra, "pagesize", 0);
288 collect_argument(&extra, "vacuum",0);
289 collect_argument(&extra, "deanalyze",0); /* Legacy only - not recommended */
290 collect_argument(&extra, "analyze",0);
291 collect_argument(&extra, "wal",0);
292 collect_argument(&extra, "stats",0);
293 collect_argument(&extra, "index",0);
294 collect_argument(&extra, "noindex",0);
295
+1 -2
--- src/rebuild.c
+++ src/rebuild.c
@@ -656,11 +656,10 @@
656656
** Options:
657657
** --analyze Run ANALYZE on the database after rebuilding
658658
** --cluster Compute clusters for unclustered artifacts
659659
** --compress Strive to make the database as small as possible
660660
** --compress-only Skip the rebuilding step. Do --compress only
661
-** --deanalyze Remove ANALYZE tables from the database
662661
** --force Force the rebuild to complete even if errors are seen
663662
** --ifneeded Only do the rebuild if it would change the schema version
664663
** --index Always add in the full-text search index
665664
** --noverify Skip the verification of changes to the BLOB table
666665
** --noindex Always omit the full-text search index
@@ -691,11 +690,11 @@
691690
692691
omitVerify = find_option("noverify",0,0)!=0;
693692
forceFlag = find_option("force","f",0)!=0;
694693
doClustering = find_option("cluster", 0, 0)!=0;
695694
runVacuum = find_option("vacuum",0,0)!=0;
696
- runDeanalyze = find_option("deanalyze",0,0)!=0;
695
+ runDeanalyze = find_option("deanalyze",0,0)!=0; /* Legacy only. */
697696
runAnalyze = find_option("analyze",0,0)!=0;
698697
runCompress = find_option("compress",0,0)!=0;
699698
zPagesize = find_option("pagesize",0,1);
700699
showStats = find_option("stats",0,0)!=0;
701700
optIndex = find_option("index",0,0)!=0;
702701
--- src/rebuild.c
+++ src/rebuild.c
@@ -656,11 +656,10 @@
656 ** Options:
657 ** --analyze Run ANALYZE on the database after rebuilding
658 ** --cluster Compute clusters for unclustered artifacts
659 ** --compress Strive to make the database as small as possible
660 ** --compress-only Skip the rebuilding step. Do --compress only
661 ** --deanalyze Remove ANALYZE tables from the database
662 ** --force Force the rebuild to complete even if errors are seen
663 ** --ifneeded Only do the rebuild if it would change the schema version
664 ** --index Always add in the full-text search index
665 ** --noverify Skip the verification of changes to the BLOB table
666 ** --noindex Always omit the full-text search index
@@ -691,11 +690,11 @@
691
692 omitVerify = find_option("noverify",0,0)!=0;
693 forceFlag = find_option("force","f",0)!=0;
694 doClustering = find_option("cluster", 0, 0)!=0;
695 runVacuum = find_option("vacuum",0,0)!=0;
696 runDeanalyze = find_option("deanalyze",0,0)!=0;
697 runAnalyze = find_option("analyze",0,0)!=0;
698 runCompress = find_option("compress",0,0)!=0;
699 zPagesize = find_option("pagesize",0,1);
700 showStats = find_option("stats",0,0)!=0;
701 optIndex = find_option("index",0,0)!=0;
702
--- src/rebuild.c
+++ src/rebuild.c
@@ -656,11 +656,10 @@
656 ** Options:
657 ** --analyze Run ANALYZE on the database after rebuilding
658 ** --cluster Compute clusters for unclustered artifacts
659 ** --compress Strive to make the database as small as possible
660 ** --compress-only Skip the rebuilding step. Do --compress only
 
661 ** --force Force the rebuild to complete even if errors are seen
662 ** --ifneeded Only do the rebuild if it would change the schema version
663 ** --index Always add in the full-text search index
664 ** --noverify Skip the verification of changes to the BLOB table
665 ** --noindex Always omit the full-text search index
@@ -691,11 +690,11 @@
690
691 omitVerify = find_option("noverify",0,0)!=0;
692 forceFlag = find_option("force","f",0)!=0;
693 doClustering = find_option("cluster", 0, 0)!=0;
694 runVacuum = find_option("vacuum",0,0)!=0;
695 runDeanalyze = find_option("deanalyze",0,0)!=0; /* Legacy only. */
696 runAnalyze = find_option("analyze",0,0)!=0;
697 runCompress = find_option("compress",0,0)!=0;
698 zPagesize = find_option("pagesize",0,1);
699 showStats = find_option("stats",0,0)!=0;
700 optIndex = find_option("index",0,0)!=0;
701

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button