When sqlite3_checker finds a problem, show the row key as part of the error

message, not the row index number.

FossilOrigin-Name: 6ffe917d10e298cd80cd3a8c8c5116a2819145a176fb8cfccd5dbd88b10f39df
This commit is contained in:
drh
2017-11-01 01:05:41 +00:00
parent 1fae37319e
commit 24fa4d57a7
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ proc check_index {idxname batchsize} {
puts -nonewline "$idxname: "
}
incr nerr
puts "row $i: $errmsg"
puts "key($key): $errmsg"
}
incr i
}