]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1308109: Fix crash when displaying "Blocks" or "Dedends on" as column on Oracle... 5.2
authorDave Miller <justdave@bugzilla.org>
Fri, 31 Jul 2026 04:24:36 +0000 (00:24 -0400)
committerGitHub <noreply@github.com>
Fri, 31 Jul 2026 04:24:36 +0000 (00:24 -0400)
Co-authored-by: Frédéric Buclin <LpSolit@gmail.com>
Bugzilla/DB/Oracle.pm

index 30015a0d7a5a523a039774d1dbd6009e072ae278..13e8f0631605b532f365824928c1386b8b8a7195 100644 (file)
@@ -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 {