Skip to content

Commit 5d38feb

Browse files
committed
1 parent d3c0a48 commit 5d38feb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

source/packages/logger.pkb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2584,12 +2584,13 @@ as
25842584
return to_char(p_val, gc_timestamp_tz_format);
25852585
end tochar;
25862586

2587+
-- #119: Return null for null booleans
25872588
function tochar(
25882589
p_val in boolean)
25892590
return varchar2
25902591
as
25912592
begin
2592-
return case when p_val then 'TRUE' else 'FALSE' end;
2593+
return case p_val when true then 'TRUE' when false then 'FALSE' else null end;
25932594
end tochar;
25942595

25952596

0 commit comments

Comments
 (0)