Performance tweak to oils_cstore.c.
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 4 Aug 2009 19:44:02 +0000 (19:44 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 4 Aug 2009 19:44:02 +0000 (19:44 +0000)
commite492320d72d1dc6111662cdf662c851be8a5b540
tree118e36702c98cd15a61db36b0e83e290218831f1
parent18fc4a738bd5458efa2c5af73d0aa0f80b1fbac5
Performance tweak to oils_cstore.c.

Rewrote two loops in buildSELECT() and doUpdate() so use
osrfHashIterators instead of building and traversing
osrfString Arrays.

In the latter case: plugged a memory leak (we weren't freeing the
osrfStringArray).

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