Percona XtraDB Cluster - HA scalable solution for MySQL

thd->db may get reset during transaction replay

Reported by Teemu Ollakka on 2013-10-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL patches by Codership
Status tracked in 5.6
5.5
High
Teemu Ollakka
5.6
High
Teemu Ollakka
Percona XtraDB Cluster
Status tracked in Trunk
5.6
Undecided
Unassigned
Trunk
Undecided
Unassigned

Bug Description

Handling Query_log_event resets thd->db pointer (see Query_log_event::do_apply_event). Therefore if IO cache contains Query_log_event, thd->db will be reset during transaction replay.

This may generate "1046 No database selected." when next statement is issued.

This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers