Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 39fe80f

Browse files
authored
Merge pull request #2 from utPLSQL/fix/cursor_on_temp_table
Fix/cursor on temp table
2 parents ba6cf67 + a24425a commit 39fe80f

3 files changed

Lines changed: 4 additions & 8 deletions

File tree

examples/RunAllExamples.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
PROMPT Run all examples
2-
Clear Screen
32
set echo off
43
set feedback off
54
set linesize 1000

examples/RunUserExamples.sql

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
PROMPT Run user examples
2-
Clear Screen
3-
--set echo off
4-
--set feedback off
2+
set echo off
3+
set feedback off
54
set linesize 1000
65

76
prompt Common examples from web
87

9-
exec ut_documentation_reporter.set_color_enabled(true);
8+
exec ut_ansiconsole_helper.color_enabled(true);
109
@@award_bonus/run_award_bonus_test.sql
1110

1211
@@between_string/run_betwnstr_test.sql

source/core/ut_utils.pkb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -378,10 +378,8 @@ create or replace package body ut_utils is
378378
end;
379379

380380
procedure cleanup_temp_tables is
381-
pragma autonomous_transaction;
382381
begin
383-
execute immediate 'truncate table ut_cursor_data';
384-
commit;
382+
execute immediate 'delete from ut_cursor_data';
385383
end;
386384

387385
end ut_utils;

0 commit comments

Comments
 (0)