[open-ils-commits] [GIT] Evergreen ILS branch rel_2_4 updated. d9e09087fdd318739c4ff34fadb154139e90aecd
Evergreen Git
git at git.evergreen-ils.org
Fri Jun 21 16:18:19 EDT 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_2_4 has been updated
via d9e09087fdd318739c4ff34fadb154139e90aecd (commit)
from 60ecc4bef9ab30bd10a6729846d4914b6255d05c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d9e09087fdd318739c4ff34fadb154139e90aecd
Author: Dan Scott <dscott at laurentian.ca>
Date: Wed Jun 19 16:49:14 2013 -0400
Silence QP warning due to inappropriate cmp op
In QueryParser, we're comparing two strings, but using the numeric !=
operator. Switching to the 'ne' operator silences a warning that came up
7,000 today in our logs so far...
Signed-off-by: Dan Scott <dscott at laurentian.ca>
Signed-off-by: Ben Shum <bshum at biblio.org>
diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm
index c41f163..431e26f 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm
@@ -947,7 +947,7 @@ sub flatten {
. ${spc} x 2 ."AND ${talias}.field IN (". join(',', @field_ids) . ")\n"
. "${spc})";
- if ($join_type != 'INNER') {
+ if ($join_type ne 'INNER') {
my $NOT = $node->negate ? '' : ' NOT';
$where .= "${talias}.id IS$NOT NULL";
} elsif ($where ne '') {
-----------------------------------------------------------------------
Summary of changes:
.../Application/Storage/Driver/Pg/QueryParser.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list