Candidate fix for [d666d600a6].
Fix an FTS4 problem introduced by [361084e1eb].
Performance enhancement in btreeParseCellPtr().
If a virtual table xSync() returns an error message, copy it into a buffer allocated by sqlite3DbMalloc() before transfering it to Vdbe.zErrMsg.
Update sqlite3MemCompare() to try common cases first, for a modest speed
improvement.
Fix typo in test.
Minor fixes for test cases. No code changes.
Simplification to the StrAccum object and the sqlite3StrAccumAppend()
method that also results in slightly better performance.
Refactor the sqlite3_randomness() implementation for improved performance.
Minor performance tweaks to the pager.
Simplify the btreeGetPage() routine so that it uses a single flag parameter
in place of two boolean parameters.
Defer the creation of automatic indices until the index is actually used.