Logger icon indicating copy to clipboard operation
Logger copied to clipboard

Timer raises numeric or value error: character string buffer too small

Open MJelmorini opened this issue 7 years ago • 1 comments

When more tan 100 timers are a value error is raised code: l_pad varchar2(100);

l_pad := replace(lpad('a',logger.g_running_timers,'>')||' ', 'a', null);

MJelmorini avatar Oct 29 '18 15:10 MJelmorini

I've modified my version like this:

      l_pad varchar2(255);
...
      l_pad := substr(ltrim(lpad(' ', logger.g_running_timers, '>')), 1, 255);

jeffreykemp avatar Jan 12 '22 07:01 jeffreykemp