summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB/Oracle.pm
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2008-07-01 15:12:12 +0200
committermkanat%bugzilla.org <>2008-07-01 15:12:12 +0200
commit7b6d4bdc2c4c9368479150bb333659b00cece1d5 (patch)
tree844d0cf0f212762aac91517ffb1278c530ebb7c3 /Bugzilla/DB/Oracle.pm
parentd01126162b7ce20025e0eadad34115fbd4080fda (diff)
downloadbugzilla-7b6d4bdc2c4c9368479150bb333659b00cece1d5.tar.gz
bugzilla-7b6d4bdc2c4c9368479150bb333659b00cece1d5.tar.xz
Bug 432601: [Oracle] Fix 'Find a specific Bug' (fulltext searching)
Patch By Xiaoou Wu <xiaoou.wu@oracle.com> r=mkanat, a=mkanat
Diffstat (limited to 'Bugzilla/DB/Oracle.pm')
-rw-r--r--Bugzilla/DB/Oracle.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/DB/Oracle.pm b/Bugzilla/DB/Oracle.pm
index d9579708e..13c4c1792 100644
--- a/Bugzilla/DB/Oracle.pm
+++ b/Bugzilla/DB/Oracle.pm
@@ -146,10 +146,10 @@ sub sql_from_days{
return " TO_DATE($date,'J') ";
}
sub sql_fulltext_search {
- my ($self, $column, $text) = @_;
+ my ($self, $column, $text, $label) = @_;
$text = $self->quote($text);
trick_taint($text);
- return "CONTAINS($column,$text)";
+ return "CONTAINS($column,$text,$label)", "SCORE($label)";
}
sub sql_date_format {