Fossil SCM
Run PRAGMA integrity_check on the database at the end of the "test-integrity" command.
Commit
00bfa66e6c921cb5da73557c6c3431ee46620d2b
Parent
0f9d0f0ba147f97…
1 file changed
+2
+2
| --- src/content.c | ||
| +++ src/content.c | ||
| @@ -953,10 +953,12 @@ | ||
| 953 | 953 | fossil_print("%d total control artifacts\n", nCA); |
| 954 | 954 | for(i=1; i<count(azType); i++){ |
| 955 | 955 | if( anCA[i] ) fossil_print(" %d %ss\n", anCA[i], azType[i]); |
| 956 | 956 | } |
| 957 | 957 | } |
| 958 | + fossil_print("low-level database integrity-check: "); | |
| 959 | + fossil_print("%s\n", db_text(0, "PRAGMA integrity_check(10)")); | |
| 958 | 960 | } |
| 959 | 961 | |
| 960 | 962 | /* |
| 961 | 963 | ** COMMAND: test-orphans |
| 962 | 964 | ** |
| 963 | 965 |
| --- src/content.c | |
| +++ src/content.c | |
| @@ -953,10 +953,12 @@ | |
| 953 | fossil_print("%d total control artifacts\n", nCA); |
| 954 | for(i=1; i<count(azType); i++){ |
| 955 | if( anCA[i] ) fossil_print(" %d %ss\n", anCA[i], azType[i]); |
| 956 | } |
| 957 | } |
| 958 | } |
| 959 | |
| 960 | /* |
| 961 | ** COMMAND: test-orphans |
| 962 | ** |
| 963 |
| --- src/content.c | |
| +++ src/content.c | |
| @@ -953,10 +953,12 @@ | |
| 953 | fossil_print("%d total control artifacts\n", nCA); |
| 954 | for(i=1; i<count(azType); i++){ |
| 955 | if( anCA[i] ) fossil_print(" %d %ss\n", anCA[i], azType[i]); |
| 956 | } |
| 957 | } |
| 958 | fossil_print("low-level database integrity-check: "); |
| 959 | fossil_print("%s\n", db_text(0, "PRAGMA integrity_check(10)")); |
| 960 | } |
| 961 | |
| 962 | /* |
| 963 | ** COMMAND: test-orphans |
| 964 | ** |
| 965 |