From: Dave Miller Date: Fri, 31 Jul 2026 04:24:36 +0000 (-0400) Subject: Bug 1308109: Fix crash when displaying "Blocks" or "Dedends on" as column on Oracle... X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;ds=sidebyside;p=thirdparty%2Fbugzilla.git Bug 1308109: Fix crash when displaying "Blocks" or "Dedends on" as column on Oracle (#236) Co-authored-by: Frédéric Buclin --- diff --git a/Bugzilla/DB/Oracle.pm b/Bugzilla/DB/Oracle.pm index 30015a0d7..13e8f0631 100644 --- a/Bugzilla/DB/Oracle.pm +++ b/Bugzilla/DB/Oracle.pm @@ -117,7 +117,7 @@ sub sql_group_concat { my ($self, $text, $separator) = @_; $separator = $self->quote(', ') if !defined $separator; my ($distinct, $rest) = $text =~ /^(\s*DISTINCT\s|)(.+)$/i; - return "group_concat($distinct T_CLOB_DELIM(NVL($rest, ' '), $separator))"; + return "group_concat($distinct T_CLOB_DELIM(NVL(TO_CHAR($rest), ' '), $separator))"; } sub sql_regexp {