In SELECT(): Enhanced the validation of JSON queries:
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 25 Feb 2009 16:00:05 +0000 (16:00 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 25 Feb 2009 16:00:05 +0000 (16:00 +0000)
commit20e1a4f97b76746477bcb0e9b37216df9fd831b9
tree786fad9af2704faa978c023c42f48efe62e75faf
parentbda149c4f5103cf22d55572126786b466356bdd5
In SELECT(): Enhanced the validation of JSON queries:

1. If the FROM clause is the wrong sort of jsonObject, issue
a helpful message before bailing out.

2. If a class in the SELECT clause is not defined in the IDL,
issue a message and bail out (instead of silently ignoring it).

3. If a selected item is represented by anything but a
JSON_STRING or JSON_HASH, issue a message and bail out
(instead of creating a query that bombs out later due to an
extra comma).

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