Skip to content

Commit 7be4b69

Browse files
authored
bypass new errors in SQLite (#664)
1 parent 327ac29 commit 7be4b69

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/sqlancer/sqlite3/SQLite3Errors.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public static void addExpectedExpressionErrors(ExpectedErrors errors) {
4747
errors.add("json_insert() needs an odd number of arguments");
4848
errors.add("json_object() labels must be TEXT");
4949
errors.add("json_object() requires an even number of arguments");
50+
errors.add("argument of ntile must be a positive integer");
5051

5152
// fts5 functions
5253
errors.add("unable to use function highlight in the requested context");
@@ -61,6 +62,11 @@ public static void addExpectedExpressionErrors(ExpectedErrors errors) {
6162
errors.add("ORDER BY clause should come after");
6263
errors.add("LIMIT clause should come after");
6364

65+
errors.add("unsafe use of load_extension");
66+
errors.add("table does not support scanning");
67+
errors.add("circularly defined");
68+
errors.add("[SQLITE_ERROR] SQL error or missing database"); // A possible delay in the execution of DROP TABLE
69+
// statement.
6470
}
6571

6672
public static void addMatchQueryErrors(ExpectedErrors errors) {

0 commit comments

Comments
 (0)