Still more performance enhancements to the LIKE and GLOB operators.
Simplification to the random rowid picking logic that begins running when
the maximum possible rowid has already been used.
Simplifications to the SQL function and aggregate calling procedures.
Minor code reformatting and comment change, to improve clarity.
No logic changes.
If an SQL function makes a recursive call to do an INSERT into the same
database, make sure that the last_insert_rowid() for that INSERT is recorded.
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.