]> git.evergreen-ils.org Git - Evergreen.git/commit
Tidied up buildSELECT() a bit:
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 8 Oct 2010 14:16:19 +0000 (14:16 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 8 Oct 2010 14:16:19 +0000 (14:16 +0000)
commitc7ca54667d02e9ed6f6ae1e7384d00142b63fe32
tree4396bc524f3d874c12d4bde114ee9facac08719a
parentc7e396600d5aedba23b43698e0bbfca3f60145b2
Tidied up buildSELECT() a bit:

1. Sprinkled the const qualifier here and there.

2. Moved some variable declarations to get them closer to the point of
first use, and to limit their scope.

3. Renamed some variables to better reflect their meaning.

4. Split a couple of variables into multiple variables, instead of using
them for multiple unrelated purposes.

5. Plugged a memory leak in the case of an error return.

6. Added comments, including a Doxygen-style comment at the top of the
function.

M    Open-ILS/src/c-apps/oils_sql.c

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