Rework IN and BETWEEN field transform support
authorMike Rylander <mrylander@gmail.com>
Fri, 1 Nov 2019 16:52:49 +0000 (12:52 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 16 Jan 2020 21:38:28 +0000 (16:38 -0500)
commitee0aa01d1b0e38e32ba5ea0ee38102ba49807b0f
tree4e7267a1d612640587941d6251d89c1a672ca45d
parent0bcc4a14ce065dcecb92eec4f613753ebdb8947f
Rework IN and BETWEEN field transform support

This commit refactors the previous IN and BETWEEN field transform
support to streamline things a bit.  Gone are the changes to the complex
predicate handler to special-case BETWEEN, replaced by changes to the IN
and BETWEEN clause generators to handle field transformation directly.

Also addressed a compiler warning about misleading indentation.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/c-apps/oils_sql.c