Fossil SCM

Run PRAGMA integrity_check on the database at the end of the "test-integrity" command.

drh 2016-01-18 23:25 trunk
Commit 00bfa66e6c921cb5da73557c6c3431ee46620d2b
1 file changed +2
--- src/content.c
+++ src/content.c
@@ -953,10 +953,12 @@
953953
fossil_print("%d total control artifacts\n", nCA);
954954
for(i=1; i<count(azType); i++){
955955
if( anCA[i] ) fossil_print(" %d %ss\n", anCA[i], azType[i]);
956956
}
957957
}
958
+ fossil_print("low-level database integrity-check: ");
959
+ fossil_print("%s\n", db_text(0, "PRAGMA integrity_check(10)"));
958960
}
959961
960962
/*
961963
** COMMAND: test-orphans
962964
**
963965
--- 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

Keyboard Shortcuts

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