Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ jobs:
runs-on: ubuntu-latest
services:
mysql:
image: mysql:8.0.36
image: mysql:8.4
env:
MYSQL_ROOT_PASSWORD: root
ports:
Expand Down
1 change: 1 addition & 0 deletions src/sqlancer/mysql/MySQLErrors.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public static List<Pattern> getExpressionRegexErrors() {
}

errors.add(Pattern.compile("Unknown column '.*' in 'order clause'"));
errors.add(Pattern.compile("Unknown column '.*' in 'EXISTS subquery'"));

return errors;
}
Expand Down
1 change: 0 additions & 1 deletion src/sqlancer/mysql/gen/MySQLSetGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ private enum Action {
SCHEMA_DEFINITION_CACHE("schema_definition_cache", (r) -> r.getLong(256, 524288), Scope.GLOBAL), //
SHOW_CREATE_TABLE_VERBOSITY("show_create_table_verbosity", (r) -> Randomly.fromOptions("OFF", "ON"),
Scope.GLOBAL, Scope.SESSION), //
SHOW_OLD_TEMPORALS("show_old_temporals", (r) -> Randomly.fromOptions("OFF", "ON"), Scope.GLOBAL, Scope.SESSION),
/*
* sort_buffer_size is commented out as a workaround for https://bugs.mysql.com/bug.php?id=95969
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public MySQLPivotedQuerySynthesisOracle(MySQLGlobalState globalState) throws SQL
super(globalState);
MySQLErrors.addExpressionErrors(errors);
errors.add("in 'order clause'"); // e.g., Unknown column '2067708013' in 'order clause'
errors.add("in 'EXISTS subquery'"); // e.g., Unknown column '2067708013' in 'EXISTS subquery' (MySQL 8.4+)
}

@Override
Expand Down
Loading