Skip to content

Commit 6fa8d31

Browse files
committed
Fix artifact naming in yb_release workflow steps to ensure consistency
1 parent 8dd9a26 commit 6fa8d31

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/sqlancer/yugabyte/ysql/YSQLErrors.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ public static void addCommonTableErrors(ExpectedErrors errors) {
9999
errors.add("cannot use subquery in check constraint");
100100
errors.add("cannot use subquery in DEFAULT expression");
101101
errors.add("cannot use subquery in partition key expression");
102+
errors.add("cannot use subquery in column generation expression");
102103
}
103104

104105
public static void addTransactionErrors(ExpectedErrors errors) {
@@ -128,6 +129,8 @@ public static void addTransactionErrors(ExpectedErrors errors) {
128129
errors.add("Deadlock");
129130
errors.add("deadlock");
130131
errors.add("Statement timeout while waiting for lock");
132+
// Savepoint + DDL interaction
133+
errors.add("interleaving SAVEPOINT & DDL in transaction disallowed");
131134
// Timeout errors
132135
errors.add("canceling statement due to statement timeout");
133136
errors.add("canceling statement due to lock timeout");

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ public static SQLQueryAdapter generate(YSQLGlobalState globalState) {
140140
errors.add("result of range difference would not be contiguous");
141141
errors.add("which is part of the partition key");
142142
errors.add("cannot use subquery in index predicate");
143+
errors.add("cannot use subquery in index expression");
143144
YSQLErrors.addCommonExpressionErrors(errors);
144145
YSQLErrors.addTransactionErrors(errors);
145146
return new SQLQueryAdapter(sb.toString(), errors);

0 commit comments

Comments
 (0)