Skip to content

sqlbase: plumb DummyPrivilegedAccessor to relevant initializers#45413

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
otan-cockroach:fake_priv_acc
Feb 26, 2020
Merged

sqlbase: plumb DummyPrivilegedAccessor to relevant initializers#45413
craig[bot] merged 1 commit intocockroachdb:masterfrom
otan-cockroach:fake_priv_acc

Conversation

@otan
Copy link
Copy Markdown
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
Copy Markdown
Member

This change is Reviewable

p.extendedEvalCtx.Planner = p
p.extendedEvalCtx.PrivilegedAccessor = p
p.extendedEvalCtx.SessionAccessor = p
p.extendedEvalCtx.PrivilegedAccessor = p
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

rohany commented Feb 25, 2020

lgtm aside from nit

@rohany
Copy link
Copy Markdown
Contributor

rohany commented Feb 26, 2020

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

@otan
Copy link
Copy Markdown
Contributor Author

otan commented Feb 26, 2020

bors r=rohany

@craig
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

otan commented Feb 26, 2020

bors r=rohany
(flake on bench)

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Feb 26, 2020

Build failed

@otan
Copy link
Copy Markdown
Contributor Author

otan commented Feb 26, 2020 via email

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Feb 26, 2020

Build failed

@otan
Copy link
Copy Markdown
Contributor Author

otan commented Feb 26, 2020 via email

@craig
Copy link
Copy Markdown
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