]> git.evergreen-ils.org Git - Evergreen.git/commit
Various tweaks, mainly to the SELECT function.
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 5 Feb 2009 16:35:44 +0000 (16:35 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 5 Feb 2009 16:35:44 +0000 (16:35 +0000)
commit6cc2b224ae935dba27ef84da8ed3129460269a3e
treeca48dfb1f8f0408b6955616e03fb0aa0b67941b0
parenta249ad4e1240b1e15f7d915e1606051c3791c8dd
Various tweaks, mainly to the SELECT function.

1. Moved some IDL lookups out of a loop where their results were loop invariants.

2. Narrowed the scope of _alias.

3. Eliminated some calls to jsonObjectToSimpleString() and strdup(), along with
the associated mallocs and frees.

4. Eliminated a couple of needlessly repeated calls to jsonObjectGetKey() by
caching the results of the first ones.

5. Uncommented a couple of commented-out calls to jsonIteratorFree(), because
I don't see anything wrong with them.

6. Moved another commented-out call back into a scope where it would compile
if uncommented (but left it commented out for now).

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