[open-ils-commits] r17745 - branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg (gmc)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Sep 16 14:21:37 EDT 2010
Author: gmc
Date: 2010-09-16 14:21:32 -0400 (Thu, 16 Sep 2010)
New Revision: 17745
Modified:
branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm
Log:
remove internal limit with querying on facets
This allows non-selective facets such a material type facet
to bring in correct results - the tradeoff is that queries
that involve facets will run slower.
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
Modified: branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm
===================================================================
--- branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm 2010-09-16 18:19:43 UTC (rev 17744)
+++ branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm 2010-09-16 18:21:32 UTC (rev 17745)
@@ -659,8 +659,7 @@
$from .= ")";
- my $core_limit = $self->QueryParser->core_limit || 25000;
- $from .= "\n\t\tLIMIT $core_limit\n\t) AS $talias ON (m.source = $talias.source)";
+ $from .= "\n\t\t) AS $talias ON (m.source = $talias.source)";
$where .= 'TRUE';
More information about the open-ils-commits
mailing list