Skip to content

Commit 8522446

Browse files
committed
Expand YSQL error handling to include subquery-related errors in insert operations
1 parent 6fa8d31 commit 8522446

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/sqlancer/yugabyte/ysql/gen/YSQLInsertGenerator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public static SQLQueryAdapter insert(YSQLGlobalState globalState) {
2727
YSQLErrors.addCommonInsertUpdateErrors(errors);
2828
YSQLErrors.addCommonFetchErrors(errors);
2929
YSQLErrors.addTransactionErrors(errors);
30+
YSQLErrors.addSubqueryErrors(errors);
3031
errors.add("cannot insert into column");
3132
errors.add("violates not-null constraint");
3233
errors.add("does not support Infinity yet");

0 commit comments

Comments
 (0)