Skip to content

clisqlshell: fix a panic on tab key#92934

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
knz:20221202-cli-fix
Dec 2, 2022
Merged

clisqlshell: fix a panic on tab key#92934
craig[bot] merged 1 commit intocockroachdb:masterfrom
knz:20221202-cli-fix

Conversation

@knz
Copy link
Copy Markdown
Contributor

@knz knz commented Dec 2, 2022

Fixes #92935.
Epic: CRDB-22182
This patch ensures that there's no visible panic if the user presses "tab" and there's no completion available.

NB: no unit tests here - the test coverage will be delivered by #87606.

This patch ensures that there's no visible panic if the user presses
"tab" and there's no completion available.

Release note: None
@knz knz requested review from a team, ZhouXing19 and andyyang890 December 2, 2022 18:06
@knz knz requested review from a team as code owners December 2, 2022 18:06
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Member

@rail rail left a comment

Choose a reason for hiding this comment

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

Worked perfectly fine! Thank you!

@knz
Copy link
Copy Markdown
Contributor Author

knz commented Dec 2, 2022

thanks!

bors r=rail

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Dec 2, 2022

Build failed (retrying...):

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Dec 2, 2022

Build failed (retrying...):

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Dec 2, 2022

Build failed:

Copy link
Copy Markdown
Collaborator

@andyyang890 andyyang890 left a comment

Choose a reason for hiding this comment

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

Doesn't panic anymore! 💯

@rail
Copy link
Copy Markdown
Member

rail commented Dec 2, 2022

bors retry

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Dec 2, 2022

Build succeeded:

@craig craig bot merged commit 865ad56 into cockroachdb:master Dec 2, 2022
@knz knz deleted the 20221202-cli-fix branch December 4, 2022 13:29
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.

cli/sql: panic display on tab key

4 participants