Add missing flag for 'composite' attributes user/dbwells/speed_up_rec_attr_ingest
authorDan Wells <dbw2@calvin.edu>
Fri, 17 Jun 2016 13:54:28 +0000 (09:54 -0400)
committerDan Wells <dbw2@calvin.edu>
Fri, 17 Jun 2016 13:54:28 +0000 (09:54 -0400)
commit1f3df412bca2134e2cbfca7ab8cc357b97e11bf8
treef49fe51f5c6a6a06180218803a6fcaea0371d50c
parent116546b2c8378d089c299ab64837522ceff03ce4
Add missing flag for 'composite' attributes

Configuration for 'composite' attributes are stored in a separate
table, so the rows in config.record_attr_definition don't have indexing
data, just a flag.

This commit checks for this flag so that composite entries are not
missed.  This obviously gives back some of the measured gains, but so
far still a measurable improvement (roughly 2x on my system, YMMV).

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/sql/Pg/030.schema.metabib.sql