Skip to content

Use error code to verify absence of MySQL COLUMN_STATISTICS table #13323

Merged
ebyhr merged 1 commit intotrinodb:masterfrom
ebyhr:ebi/mysql-error-code
Jul 25, 2022
Merged

Use error code to verify absence of MySQL COLUMN_STATISTICS table #13323
ebyhr merged 1 commit intotrinodb:masterfrom
ebyhr:ebi/mysql-error-code

Conversation

@ebyhr
Copy link
Copy Markdown
Member

@ebyhr ebyhr commented Jul 23, 2022

Description

Use error code to verify absence of MySQL COLUMN_STATISTICS table
Fixes #13258

Documentation

(x) No documentation is needed.

Release notes

(x) Release notes entries required with the following suggested text:

# MySQL
* Fix failure when reading table statistics and `INFORMATION_SCHEMA.COLUMN_STATISTICS` table doesn't exist. ({issue}`issuenumber`)

Some distributions may use a lowercased table name in the error message.
Copy link
Copy Markdown
Member

@hashhar hashhar left a comment

Choose a reason for hiding this comment

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

Thank you

@ebyhr ebyhr merged commit 382badb into trinodb:master Jul 25, 2022
@ebyhr ebyhr deleted the ebi/mysql-error-code branch July 25, 2022 05:16
@github-actions github-actions bot added this to the 392 milestone Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Wrong exception handling in MySQL table statistics for MySQL version 5.7

2 participants