Correct condition in thd_binlog_format() function for List Index process

Description

Summary:

When I add a table with indexes and then list indexes, percon server crashes

Env:

 

Reproduction:

1) Create new schema

2) Create new table with index

3) When listing indexes, a crash occurs

 

Backtrace with mysqld-debug:

 

 

Environment

None

Smart Checklist

Activity

Show:

Jira Bot January 20, 2021 at 6:56 PM

To: Former user
CC:

Hi, I'm jira-bot, Percona's Jira automation tool. I've detected that someone from
Percona has made an edit to the Summary field of an issue that you reported.

I'm not sentient (yet) so I'm not sure whether the person fixed a typo, changed
a few words, or completely rewrote the text. In any case, it is Percona Engineering's
intention to make the Summary and Description of an issue as accurate as possible
so that we're fixing the actual problem you're encountering, and to avoid
misunderstandings about symptoms and causes.

If the current Summary does not accurately reflect the problem you are reporting,
or if you feel the change was otherwise inappropriate in some way, please add a
new comment explaining things and we'll address it as soon as we can.

This message will be added only once per issue, regardless of how many times
the Summary is edited.

message-code:summary-edited

Kamil Holubicki December 16, 2020 at 10:07 AM

Kamil Holubicki December 9, 2020 at 1:29 PM

Reproduced on PXC 8.0.20and on current PXC 8.0 trunk.

Not reproduced on Percona-Server-8.0.20-11

Paweł Bromboszcz December 8, 2020 at 10:28 AM

I checked my mysql server configuration, the problem occurs after disable binary logging

 

Kamil Holubicki December 8, 2020 at 9:00 AM

Cannot reproduce.

Done

Details

Assignee

Reporter

Needs Review

Original estimate

Time tracking

1d 3h 39m logged9m remaining

Fix versions

Affects versions

Priority

Smart Checklist

Created December 7, 2020 at 10:36 AM
Updated March 6, 2024 at 9:19 PM
Resolved December 17, 2020 at 9:40 AM