summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-05-20 19:54:06 +0200
committerByron Jones <bjones@mozilla.com>2013-05-20 19:54:06 +0200
commit0b1e410c81430711a602adc56e4fc7667d1c841e (patch)
treea538bc9da4cef2440a16e5f64c634daa6e8c1305 /Bugzilla/DB
parent1f7cfaeb0ce976e5f7ec4ec9b8b02c47cd01b45e (diff)
downloadbugzilla-0b1e410c81430711a602adc56e4fc7667d1c841e.tar.gz
bugzilla-0b1e410c81430711a602adc56e4fc7667d1c841e.tar.xz
Bug 828344: "contains all of the words" no longer looks for all words within the same comment or flag
r=LpSolit, a=LpSolit
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r--Bugzilla/DB/Oracle.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/Bugzilla/DB/Oracle.pm b/Bugzilla/DB/Oracle.pm
index 1427bcedd..20eb0e550 100644
--- a/Bugzilla/DB/Oracle.pm
+++ b/Bugzilla/DB/Oracle.pm
@@ -216,16 +216,16 @@ sub sql_position {
}
sub sql_in {
- my ($self, $column_name, $in_list_ref) = @_;
+ my ($self, $column_name, $in_list_ref, $negate) = @_;
my @in_list = @$in_list_ref;
- return $self->SUPER::sql_in($column_name, $in_list_ref) if $#in_list < 1000;
+ return $self->SUPER::sql_in($column_name, $in_list_ref, $negate) if $#in_list < 1000;
my @in_str;
while (@in_list) {
my $length = $#in_list + 1;
my $splice = $length > 1000 ? 1000 : $length;
my @sub_in_list = splice(@in_list, 0, $splice);
push(@in_str,
- $self->SUPER::sql_in($column_name, \@sub_in_list));
+ $self->SUPER::sql_in($column_name, \@sub_in_list, $negate));
}
return "( " . join(" OR ", @in_str) . " )";
}