SQLITE_LIMIT_LENGTH is changed after a statement is prepared but before it is run. Also remove debugging statements from tkt3841.test. (CVS 6777) FossilOrigin-Name: 3d7327fd6af983d5ce9bc9a2ba869b23c44cc8e6
time the aggregate is used in an correlated subquery. Ticket #3841. (CVS 6616) FossilOrigin-Name: 4a86de35d57a0c8720772c29431c86cd9be1fb9b