Performance tweak for HAVING clause:
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 14 May 2009 21:32:33 +0000 (21:32 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 14 May 2009 21:32:33 +0000 (21:32 +0000)
commita08edc0b8def047632dadd4a2ddc08f51ada5466
tree85f9269edeafdd842c0f5ea37f3ed4c2af8ac2d3
parentee2133f8e17db9b80a04f120caf14aa605978860
Performance tweak for HAVING clause:

1. Use a char* for it, not a growing_buffer.

2. Don't allocate it at all when there is no HAVING clause.

This change will eliminate to mallocs and frees for each call.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@13166 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/c-apps/oils_cstore.c