]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Tweaks to oils_cstore.c:
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 14 Jul 2009 13:30:41 +0000 (13:30 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 14 Jul 2009 13:30:41 +0000 (13:30 +0000)
commite15a16adc448768b808b18344fec0a922743af99
tree71209fc8ac529f24727a81d021b8675e1a26b7c5
parent8a7827d4d21550618db19a6409727916f3f0f20c
Tweaks to oils_cstore.c:

1. Added a couple of const qualifiers.

2. In verifyObjectPCRUD: renamed meta to method_metadata, for clarity.
In many places we use "meta" for class metadata.

3. In verifyObjectPCRUD: when looking for the root of the org tree,
build the where clause object directly instead of incurring the overhead
of jsonParseString().

4. A few lines further down: free the where clause object in only
a single place.

5. In single_hash(): represent a NULL value as a JSON_NULL.

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