/ 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 Side-by-Side Diffs Ignore Whitespace Patch

Changes to ext/repair/sqlite3_checker.tcl.

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