summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Search.pm
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2012-11-03 00:15:51 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2012-11-03 00:15:51 +0100
commit57cc97e041ff65b457fa94a1618699cf9bb9ca13 (patch)
tree6129ec49a04130e8e06d10ccc6010590a11e3916 /Bugzilla/Search.pm
parent63ac4b741efb776ae0e1721cd4c3127e3c4b0e0c (diff)
downloadbugzilla-57cc97e041ff65b457fa94a1618699cf9bb9ca13.tar.gz
bugzilla-57cc97e041ff65b457fa94a1618699cf9bb9ca13.tar.xz
Bug 804505: Oracle crashes when typing "word1 word2" in QuickSearch with "ORA-29907: found duplicate labels in primary invocations"
r=dkl a=LpSolit
Diffstat (limited to 'Bugzilla/Search.pm')
-rw-r--r--Bugzilla/Search.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm
index 3805cd2ad..8746c2706 100644
--- a/Bugzilla/Search.pm
+++ b/Bugzilla/Search.pm
@@ -2342,9 +2342,9 @@ sub _content_matches {
# Create search terms to add to the SELECT and WHERE clauses.
my ($term1, $rterm1) =
- $dbh->sql_fulltext_search("$table.$comments_col", $value, 1);
+ $dbh->sql_fulltext_search("$table.$comments_col", $value);
my ($term2, $rterm2) =
- $dbh->sql_fulltext_search("$table.short_desc", $value, 2);
+ $dbh->sql_fulltext_search("$table.short_desc", $value);
$rterm1 = $term1 if !$rterm1;
$rterm2 = $term2 if !$rterm2;