]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1303940: don't attempt to store NULL values in keyword, browse, or facet indexes
authorGalen Charlton <gmc@esilibrary.com>
Tue, 8 Apr 2014 21:09:46 +0000 (14:09 -0700)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 8 Apr 2014 21:23:46 +0000 (14:23 -0700)
commit9984b11f6766106f6d8c5b2e05331f9cf2dbf571
tree20fefd88faee152300d0b37073fa57249b2a3bdb
parentc964cd4ce0fc97db9b726d6ada4902f6388c255e
LP#1303940: don't attempt to store NULL values in keyword, browse, or facet indexes

This patch implements a suggestion by Dan Wells and builds on Mike
Rylander's patch to skip inserting into field_entry and facet
indexes values that have been normalized to NULL.  As a side effect,
the following warning will no longer be logged when attempting
to store such values in the facet index:

WARNING:  Use of uninitialized value in subroutine entry at /usr/lib/perl/5.18/Unicode/Normalize.pm line 80.
CONTEXT:  PL/Perl function "force_unicode_normal_form"

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/sql/Pg/030.schema.metabib.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.browse-ingest-null-protect.sql