/ Check-in [6ffe917d]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:When sqlite3_checker finds a problem, show the row key as part of the error message, not the row index number.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | checkindex
Files: files | file ages | folders
SHA3-256:6ffe917d10e298cd80cd3a8c8c5116a2819145a176fb8cfccd5dbd88b10f39df
User & Date: drh 2017-11-01 01:05:42
Context
2017-11-01
13:09
Minor cleanup in checkindex.c. Add progress displays when checking a single index in the top-level TCL script for sqlite3_checker. check-in: 3ca31cc3 user: drh tags: checkindex
01:05
When sqlite3_checker finds a problem, show the row key as part of the error message, not the row index number. check-in: 6ffe917d user: drh tags: checkindex
01:01
Actually perform index checks when running sqlite3_checker check-in: 54530020 user: drh tags: checkindex
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to ext/repair/sqlite3_checker.tcl.

57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
              LIMIT $batchsize} {
      set more 1
      if {$errmsg!=""} {
        if {$nerr>0} {
           puts -nonewline "$idxname: "
        }
        incr nerr
        puts "row $i: $errmsg"
      }
      incr i
    }
  }
  if {$nerr==0} {
    puts "$i entries, ok"
  } else {







|







57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
              LIMIT $batchsize} {
      set more 1
      if {$errmsg!=""} {
        if {$nerr>0} {
           puts -nonewline "$idxname: "
        }
        incr nerr
        puts "key($key): $errmsg"
      }
      incr i
    }
  }
  if {$nerr==0} {
    puts "$i entries, ok"
  } else {