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

Status

Assignee

George Lorch

Reporter

George Lorch

Labels

External issue ID

None

Freshdesk Tickets

None

Priority

Minor
Configure