[open-ils-commits] [GIT] Evergreen ILS branch master updated. cb7fb21c45329fd3b4f17dc4721e7f1e28ce0aab
Evergreen Git
git at git.evergreen-ils.org
Fri Jun 21 16:18:11 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, master has been updated
via cb7fb21c45329fd3b4f17dc4721e7f1e28ce0aab (commit)
from 84d6910d27d7f91ed82dce193501a4c36f37d79c (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 cb7fb21c45329fd3b4f17dc4721e7f1e28ce0aab
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