SIGN IN SIGN UP

Rewrite the aggregate handling logic so that it runs in O(1) space.

This is the first cut at the code.  Many regression tests fail. (CVS 2662)

FossilOrigin-Name: 17039ec3ff4396862beedf4a8af89654b2140f58
D
drh committed
13449892ef7b675175ab6f7f5a5ccfa576560127
Parent: 79158e1