Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Changed how savepoint name is generated.
Resolves #982
  • Loading branch information
jgebal committed Nov 30, 2019
commit 39d144ae7f55cf13cd22d5d313f96c742980b305
2 changes: 1 addition & 1 deletion source/core/coverage/proftab.sql
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ begin
if l_tab_exist = 0 then
execute immediate q'[create table plsql_profiler_units
(
runid number references plsql_profiler_runs,
runid number(18) references plsql_profiler_runs,
unit_number number, -- internally generated library unit #
unit_type varchar2(128), -- library unit type
unit_owner varchar2(128), -- library unit owner name
Expand Down
15 changes: 0 additions & 15 deletions source/core/ut_savepoint_seq.sql

This file was deleted.

2 changes: 1 addition & 1 deletion source/core/ut_utils.pkb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ create or replace package body ut_utils is

function gen_savepoint_name return varchar2 is
begin
return 's'||trim(to_char(ut_savepoint_seq.nextval,'0000000000000000000000000000'));
return 's'||to_char(systimestamp,'yyyymmddhh24missff9');
end;

procedure debug_log(a_message varchar2) is
Expand Down
1 change: 0 additions & 1 deletion source/install.sql
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ end;
@@install_component.sql 'core/types/ut_reporters_info.tps'
@@install_component.sql 'core/ut_utils.pks'
@@install_component.sql 'core/ut_metadata.pks'
@@install_component.sql 'core/ut_savepoint_seq.sql'
@@install_component.sql 'core/ut_utils.pkb'
@@install_component.sql 'core/ut_metadata.pkb'
@@install_component.sql 'reporters/ut_ansiconsole_helper.pks'
Expand Down
2 changes: 0 additions & 2 deletions source/uninstall_objects.sql
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,6 @@ end;

drop package ut_utils;

drop sequence ut_savepoint_seq;

drop type ut_documentation_reporter force;

drop type ut_debug_reporter force;
Expand Down