]> git.evergreen-ils.org Git - Evergreen.git/commit
In SELECT(): Use a more efficient algorithm for keeping track
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 25 Feb 2009 20:48:15 +0000 (20:48 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 25 Feb 2009 20:48:15 +0000 (20:48 +0000)
commit6c5a2ebe51fea8cec9687cb1874778db9cf67d5e
tree75aa01ae9f1e146b387a3040ce4fddcd61ed36dd
parent1ae51d0ee54a2a0c59d515db43ec7ae4511c7aef
In SELECT(): Use a more efficient algorithm for keeping track
of the "aggregate" tag.  Instead of making an extra pass using
jsonObjectFindPath(), look for the tag as we examine each
field in the SELECT list.  Build a GROUP BY list every time,
but only use it later if "aggregate" was found (or if the
DISTINCT flag is set).

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