]> git.evergreen-ils.org Git - Evergreen.git/commit
More tweaks, mostly to SELECT():
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 8 Feb 2009 00:28:13 +0000 (00:28 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 8 Feb 2009 00:28:13 +0000 (00:28 +0000)
commitc129ba361b997d6200eeb7ed0f5b8ddbc85511cd
treeb93f70feb343fe04d4b3a8a46e5d47bf0b9e0599
parent18c6db692569170fe222ad1a1e92e3cee9db459d
More tweaks, mostly to SELECT():

1. When building the select list, insert a separator comma in one
place instead of duplicating the code.

2. Narrowed the scope of fname.

3. Created a new transform_str variable instead of reusing _column
for a different purpose.

4. Juggled _column and _alias a bit so as to eliminate a strdup()
and a free().

5.In searchFieldTransform(): plugged a memory leak in the event of
an error return.

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