We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6155338 commit 353c2caCopy full SHA for 353c2ca
pkg/sql/logictest/logic.go
@@ -3826,10 +3826,12 @@ func (t *logicTest) validateAfterTestCompletion() error {
3826
// txn and second we reset vectorize mode in case it was switched to
3827
// `experimental_always`.
3828
_, _ = t.db.Exec("ROLLBACK")
3829
- _, err := t.db.Exec("RESET vectorize")
3830
- if err != nil {
+ if _, err := t.db.Exec("RESET vectorize"); err != nil {
3831
t.Fatal(errors.Wrap(err, "could not reset vectorize mode"))
3832
}
+ if _, err := t.db.Exec("RESET ROLE"); err != nil {
3833
+ t.Fatal(errors.Wrap(err, "could not reset role"))
3834
+ }
3835
3836
validate := func() (string, error) {
3837
rows, err := t.db.Query(`SELECT * FROM "".crdb_internal.invalid_objects ORDER BY id`)
0 commit comments