File tree Expand file tree Collapse file tree
src/sqlancer/yugabyte/ysql Expand file tree Collapse file tree Original file line number Diff line number Diff 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" );
Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments