Skip to content

BUG: fix unexpected panic in vtgate#4377

Merged
demmer merged 1 commit intovitessio:masterfrom
planetscale:insert_panic
Nov 22, 2018
Merged

BUG: fix unexpected panic in vtgate#4377
demmer merged 1 commit intovitessio:masterfrom
planetscale:insert_panic

Conversation

@sougou
Copy link
Copy Markdown
Contributor

@sougou sougou commented Nov 20, 2018

VTGate panics if you try to insert into a vindex. Explicitly
check for this case.

Signed-off-by: Sugu Sougoumarane ssougou@gmail.com

@demmer
Copy link
Copy Markdown
Member

demmer commented Nov 20, 2018

Does the same problem not exist for other DMLs?

@sougou
Copy link
Copy Markdown
Contributor Author

sougou commented Nov 20, 2018

The case is already handled for update and delete, but I've now improved the error message since it doesn't mention vindexes.

VTGate panics if you try to insert into a vindex. Explicitly
check for this case.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
@demmer demmer merged commit 714e126 into vitessio:master Nov 22, 2018
@sougou sougou deleted the insert_panic branch November 27, 2018 22:16
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.

2 participants