Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sqlbase: plumb DummyPrivilegedAccessor to relevant initializers #45413

Merged
merged 1 commit into from
Feb 26, 2020

Conversation

otan
Copy link
Contributor

@otan otan commented Feb 25, 2020

Refs: #45408

No functional change but a help with debugging, initialize
PrivilegedAccessor with a dummy one much like we do with
SessionAccessor.

Release note: None

@otan otan requested a review from rohany February 25, 2020 23:20
@cockroach-teamcity
Copy link
Member

This change is Reviewable

p.extendedEvalCtx.SessionAccessor = p
p.extendedEvalCtx.PrivilegedAccessor = p
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nit]: unnecessary change

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm just tryna keep the order the same hahahah

@rohany
Copy link
Contributor

rohany commented Feb 25, 2020

lgtm aside from nit

@rohany
Copy link
Contributor

rohany commented Feb 26, 2020

Oh i didn't notice that -- i don't mind either way

@otan
Copy link
Contributor Author

otan commented Feb 26, 2020

bors r=rohany

@craig
Copy link
Contributor

craig bot commented Feb 26, 2020

Build failed

No functional change but a help with debugging, initialize
PrivilegedAccessor with a dummy one much like we do with
SessionAccessor.

Release note: None
@otan
Copy link
Contributor Author

otan commented Feb 26, 2020

bors r=rohany
(flake on bench)

@craig
Copy link
Contributor

craig bot commented Feb 26, 2020

Build failed

@otan
Copy link
Contributor Author

otan commented Feb 26, 2020 via email

@craig
Copy link
Contributor

craig bot commented Feb 26, 2020

Build failed

@otan
Copy link
Contributor Author

otan commented Feb 26, 2020 via email

@craig
Copy link
Contributor

craig bot commented Feb 26, 2020

Build succeeded

@craig craig bot merged commit 68d7ae1 into cockroachdb:master Feb 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants