You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
152981: clisqlclient: ensure allow_unsafe_internals is on during metadata checks r=alyshanjahani-crl a=alyshanjahani-crl
Previously some cli commands (ex/ `cockroach sql`) would error if the `allow_unsafe_internals` session variable was set to false/off (the `allow_unsafe_internals` session var is globally defaulted to false in 26.1)
This is because constructing a `clisqlclient.sqlConn` involves performing metadata checks that access internal/system tables.
This commit ensures `allow_unsafe_internals` is true/on while doing these checks.
Fixes: #152754
Relase note: None
Co-authored-by: Alyshan Jahani <[email protected]>
0 commit comments