-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
89501: cli: fix possible crash with debug statement-bundle recreate r=yuzefovich a=yuzefovich Previously, when using `debug statement-bundle recreate` with `--placeholder` arguments we could run into an interface conversion crash if the stats files had a statistic with no `histo_buckets` attribute. Such situation can occur when the table was empty when those stats were collected or the column only had NULL values, and the crash is now fixed. Release note: None Co-authored-by: Yahor Yuzefovich <[email protected]>
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
pkg/cli/testdata/explain-bundle/bundle/stats-defaultdb.public.a.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters