Skip to content

Commit

Permalink
Merge 7a73029 into blathers/backport-release-24.3-133400
Browse files Browse the repository at this point in the history
  • Loading branch information
blathers-crl[bot] authored Oct 24, 2024
2 parents 3ab06e6 + 7a73029 commit 603a4b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions pkg/sql/logictest/testdata/logic_test/partial_index
Original file line number Diff line number Diff line change
Expand Up @@ -564,10 +564,11 @@ SELECT * FROM h@a_b_foo_idx WHERE b = 'foo'
1 foo

# Backfill a partial index with a user defined type when a new table is created
# in the same transaction.
# in the same transaction. Use a high priority to make it less likely for the
# transaction to be aborted.

statement ok
BEGIN
BEGIN PRIORITY HIGH

statement ok
CREATE TABLE i (a INT, b enum)
Expand Down
3 changes: 2 additions & 1 deletion pkg/sql/logictest/testdata/logic_test/synthetic_privileges
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,9 @@ SELECT has_table_privilege('testuser4', 'crdb_internal.feature_usage', 'SELECT')
----
false

# Use a high priority transaction to avoid this transaction being aborted.
statement ok
BEGIN TRANSACTION ISOLATION LEVEL SERIALIZABLE;
BEGIN TRANSACTION PRIORITY HIGH ISOLATION LEVEL SERIALIZABLE;

statement ok
GRANT SELECT ON crdb_internal.feature_usage TO testuser4
Expand Down

0 comments on commit 603a4b9

Please sign in to comment.