Skip to content

Commit acaf776

Browse files
committed
[TiDB] Add the forgotten setter for the hint in the SELECT class
1 parent 3114a6d commit acaf776

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/sqlancer/tidb/ast/TiDBSelect.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
public class TiDBSelect extends SelectBase<TiDBExpression> implements TiDBExpression {
99

1010
private List<TiDBExpression> joinExpressions = Collections.emptyList();
11+
private TiDBExpression hint;
1112

1213
public void setJoins(List<TiDBExpression> joinExpressions) {
1314
this.joinExpressions = joinExpressions;
@@ -16,5 +17,13 @@ public void setJoins(List<TiDBExpression> joinExpressions) {
1617
public List<TiDBExpression> getJoinExpressions() {
1718
return joinExpressions;
1819
}
20+
21+
public void setHint(TiDBExpression hint) {
22+
this.hint = hint;
23+
}
24+
25+
public TiDBExpression getHint() {
26+
return hint;
27+
}
1928

2029
}

0 commit comments

Comments
 (0)