Skip to content

Commit 7a3ea5b

Browse files
authored
Merge pull request #22893 from github/kaspersv/disable-rtjo-for-select-preds-java
Java: Disable dynamic join ordering for select predicate
2 parents 400e7ff + 99b51f2 commit 7a3ea5b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎java/ql/lib/semmle/code/java/Expr.qll‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ private predicate primitiveOrString(Type t) {
134134
* See JLS v8, section 15.28 (Constant Expressions).
135135
*/
136136
class CompileTimeConstantExpr extends Expr {
137+
pragma[no_dynamic_join_order]
137138
CompileTimeConstantExpr() {
138139
primitiveOrString(this.getType()) and
139140
(

0 commit comments

Comments
 (0)