Skip to content

Commit 9c7c36f

Browse files
committed
2.1.9 - Fixed version number and improved unit test to work with multitenant architecture.
1 parent cefdffa commit 9c7c36f

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
`METHOD4` 2.1.8
1+
`METHOD4` 2.1.9
22
============
33

44
Method4 is a PL/SQL application to run dynamic SQL in SQL.

method4.spc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CREATE OR REPLACE PACKAGE method4 AS
22

3-
C_VERSION constant varchar2(10) := '2.1.5';
3+
C_VERSION constant varchar2(10) := '2.1.9';
44

55
/*
66
|| ---------------------------------------------------------------------------------

tests/method4_test.pck

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,18 +208,23 @@ begin
208208
end;
209209

210210
--Long.
211-
--This view is the same in 11g and 12c, hopefully it's the same in all versions.
212211
declare
213212
actual1 clob;
214213
begin
215214
execute immediate
216215
q'<
217-
select *
218-
from table(method4.query('select text from dba_views where view_name = ''DBA_EXP_VERSION'''))
216+
select trim(data_default)
217+
from table(method4.query('
218+
select data_default
219+
from all_tab_columns
220+
where owner = ''SYS''
221+
and table_name = ''JOB$''
222+
and column_name = ''FLAG''
223+
'))
219224
>'
220225
into actual1;
221226

222-
assert_equals('Long 1.', 'select o.expid'||chr(10)||'from sys.incvid o', actual1);
227+
assert_equals('Long 1.', '0', actual1);
223228
end;
224229

225230
--Date.

0 commit comments

Comments
 (0)