clean up remaining test suite failures
- stored procedure parameters
This commit is contained in:
parent
e2db993578
commit
bfe2e84ee2
|
@ -412,13 +412,18 @@ public class OracleStoredProcedureTest {
|
||||||
);
|
);
|
||||||
|
|
||||||
statement.execute(
|
statement.execute(
|
||||||
"create or replace function find_char(in char search, in varchar string, in integer start default 0) " +
|
"create or replace function find_char(" +
|
||||||
|
" search in char, " +
|
||||||
|
" string in varchar," +
|
||||||
|
" start in integer default 0) " +
|
||||||
"return integer " +
|
"return integer " +
|
||||||
"as begin " +
|
"as " +
|
||||||
" select instr( search, string, start ) as position " +
|
" position integer; " +
|
||||||
|
"begin " +
|
||||||
|
" select instr( search, string, start ) into position " +
|
||||||
" from dual; " +
|
" from dual; " +
|
||||||
" return position; " +
|
" return position; " +
|
||||||
"end"
|
"end;"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} ) );
|
} ) );
|
||||||
|
|
Loading…
Reference in New Issue