summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2011-08-16 03:30:14 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2011-08-16 03:30:14 +0200
commitfe80341cb23b38b519465c648c7bebd95d1f58ce (patch)
treebc1353a6f275a951477ac2e453ee72ef36f45df5 /Bugzilla/DB
parentf5f7226e0ef80d83b1ae385361a5eb4a30bfdaaa (diff)
downloadbugzilla-fe80341cb23b38b519465c648c7bebd95d1f58ce.tar.gz
bugzilla-fe80341cb23b38b519465c648c7bebd95d1f58ce.tar.xz
Bug 654496: Duplicate bug detection doesn't work when using Oracle
r/a=mkanat
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r--Bugzilla/DB/Oracle.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/DB/Oracle.pm b/Bugzilla/DB/Oracle.pm
index f444129e1..d91eb428e 100644
--- a/Bugzilla/DB/Oracle.pm
+++ b/Bugzilla/DB/Oracle.pm
@@ -177,7 +177,7 @@ sub sql_fulltext_search {
my ($self, $column, $text, $label) = @_;
$text = $self->quote($text);
trick_taint($text);
- return "CONTAINS($column,$text,$label)", "SCORE($label)";
+ return "CONTAINS($column,$text,$label) > 0", "SCORE($label)";
}
sub sql_date_format {