]> git.evergreen-ils.org Git - Evergreen.git/commit
In oils_cstore.c, tightened validation for partial autojoins, i.e.
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 16 Apr 2009 21:48:39 +0000 (21:48 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 16 Apr 2009 21:48:39 +0000 (21:48 +0000)
commit75d5232bd1378da363a8a148a395b58b0bc901af
tree32e7db216a462a4bac90ae8b8c7ecbb0192959d6
parent3a28097412b113fee5f09824ec614eb9726ad374
In oils_cstore.c, tightened validation for partial autojoins, i.e.
when the query specifies only one of the join columns.

When looking up the other join column in the IDL, make sure that the
link used points to the right table.  Also make sure that the reltype
for the link is not "has_many", because that would imply that the
link is virtual, and the designated column doesn't exist in the
database.

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