In searchJOIN: substantially rewrote the code for the condition where
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 19 Feb 2009 02:12:46 +0000 (02:12 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 19 Feb 2009 02:12:46 +0000 (02:12 +0000)
commit767efd9c88d24223154870dbc528e889c2bfbb30
tree5104fe6358bc75737d2eb3ac172af5c9b55ebcd8
parentad614d82295da6441e2b32b5c402bce087fc500e
In searchJOIN: substantially rewrote the code for the condition where
the JSON query specifies neither of the join columns.

1. Corrected an apparent bug whereby we could join in only one
direction, even when a join in the opposite direction was
valid and equivalent.

2. Rewrote the search loops for better performance.

3. When testing for the success of the searches for join columns,
success should mean that we have identified both columns.  Identifying
just one isn't enough.

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