]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Enhance the error handling in SELECT():
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 24 Feb 2009 16:49:01 +0000 (16:49 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 24 Feb 2009 16:49:01 +0000 (16:49 +0000)
commit40ceb934117b580e572bcb02bd734814cfb47179
treef259a9178e1ed1867f59cd23ef4fdc78e8a78321
parent6810ab3e9232f961d24193bc2e15b07d9e711eff
Enhance the error handling in SELECT():

1. If the core class is not defined in the IDL, issue a
helpful message before bailing out.

2. If the core class is virtual, issua a helpful message
and bail out, instead of building a doomed query.

3. If a class referenced in the SELECT clause is not
included in the FROM clause, issue a helpful message and
bail out.  (The old code silently ignored it, and then
built a query that bombed out due to an extra comma.)

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