]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Fix the "PRAGMA integrity_check" command so that it avoids formatting error
authordrh <drh@noemail.net>
Fri, 26 Sep 2014 02:41:05 +0000 (02:41 +0000)
committerdrh <drh@noemail.net>
Fri, 26 Sep 2014 02:41:05 +0000 (02:41 +0000)
commit867db8315930541fa5f33da083066d56a6eb06b2
tree06ffd302fd9a75f9c595a8ac3c808a2892ecc1e7
parent3b130beb159f82cc1693fab0a1e924f5b7d3a586
Fix the "PRAGMA integrity_check" command so that it avoids formatting error
message context messages until it actually needs to generate an error message.
This avoids much formatting, and hence greatly improves the performance of
"PRAGMA integrity_check" in the common case when there are no errors.  It also
makes the code a little smaller.

FossilOrigin-Name: 83913515830aa850f9e38406f9422d7e88dcab66
manifest
manifest.uuid
src/btree.c
src/btreeInt.h