summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Search.pm
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2012-11-03 00:18:32 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2012-11-03 00:18:32 +0100
commita9624e2ce485a6de1edce381331ae1dd6f0185fe (patch)
treecf36a1e623976957c4d78f39baec545465c15aa8 /Bugzilla/Search.pm
parentaa7fbd9b8f7264d131aa53ae2b3f867b4e7b8fc7 (diff)
downloadbugzilla-a9624e2ce485a6de1edce381331ae1dd6f0185fe.tar.gz
bugzilla-a9624e2ce485a6de1edce381331ae1dd6f0185fe.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 f0e015cbc..95f03a6ae 100644
--- a/Bugzilla/Search.pm
+++ b/Bugzilla/Search.pm
@@ -2348,9 +2348,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;