Skip to content

Commit d4ae16d

Browse files
committed
Use the asExpectedValues() method when printing the rectified expression
1 parent b46d399 commit d4ae16d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/sqlancer/mysql/oracle/MySQLPivotedQuerySynthesisOracle.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,6 @@ protected boolean isContainedIn(Query query) throws SQLException {
195195

196196
@Override
197197
protected String asString(MySQLExpression expr) {
198-
return MySQLVisitor.asString(expr);
198+
return MySQLVisitor.asExpectedValues(expr);
199199
}
200200
}

src/sqlancer/postgres/oracle/PostgresPivotedQuerySynthesisOracle.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ protected boolean isContainedIn(Query query) throws SQLException {
207207

208208
@Override
209209
protected String asString(PostgresExpression expr) {
210-
return PostgresVisitor.asString(expr);
210+
return PostgresVisitor.asExpectedValues(expr);
211211
}
212212

213213
}

0 commit comments

Comments
 (0)