Foreground ANALYZE TABLE uses locally scoped buffer for thd_proc_info
Description
In ha_tokudb_admin.cc, the analysis jobs incorrectly use locally scoped buffers for thd_proc_info which does_not_copy the status but just holds the pointer. Status buffers need to remain in scope.
Environment
None
Activity
Show:
George Lorch
July 20, 2016, 11:52 PM
Edited
https://github.com/georgelorchpercona/percona-server/tree/ps-5.6-DB-1003
http://jenkins.percona.com/view/PS%205.6/job/percona-server-5.6-param/1247/
https://github.com/percona/percona-server/pull/687
https://github.com/georgelorchpercona/percona-server/tree/ps-5.7-DB-1003
http://jenkins.percona.com/view/5.7/job/mysql-5.7-param/259/
https://github.com/percona/percona-server/pull/688
George Lorch
July 20, 2016, 4:59 PM
Issue forwarded from Rich Prohaska https://jira.mariadb.org/browse/MDEV-10403
Fixed
Assignee
Reporter
External issue ID
None
Freshdesk Tickets
None