Skip to content

Commit 8d188e8

Browse files
committed
WL#14628: Compatibility option to enable old replication terminology in P_S instrumentation
Post push fix: Access THD::proc_info using the new getter and setter in a couple more places Change-Id: I86ba5ad178637da0bbf07ad689521896e4e59cfd
1 parent 2ff772d commit 8d188e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

storage/ndb/plugin/ha_ndbcluster_binlog.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,7 @@ static void ndb_report_waiting(const char *key, int the_time, const char *op,
10531053
const char *proc_info = "<no info>";
10541054
mysql_mutex_lock(&injector_event_mutex);
10551055
if (injector_ndb) ndb_latest_epoch = injector_ndb->getLatestGCI();
1056-
if (injector_thd) proc_info = injector_thd->proc_info;
1056+
if (injector_thd) proc_info = injector_thd->proc_info();
10571057
mysql_mutex_unlock(&injector_event_mutex);
10581058
{
10591059
ndb_log_info(
@@ -7411,7 +7411,7 @@ void Ndb_binlog_thread::do_run() {
74117411
} else {
74127412
// Handle non-gap epoch: whether an empty or a non-empty epoch
74137413

7414-
thd->proc_info = "Processing events";
7414+
thd->set_proc_info("Processing events");
74157415
ndb_binlog_index_row _row;
74167416
ndb_binlog_index_row *rows = &_row;
74177417
injector::transaction trans;

0 commit comments

Comments
 (0)