Skip to content

Commit b17c1a7

Browse files
author
He Zhenxing
committed
Auto merge postfix of Bug#49020
2 parents ab157a0 + eaf517b commit b17c1a7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

plugin/semisync/semisync_master.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ int ActiveTranx::clear_active_tranx_nodes(const char *log_file_name,
280280
}
281281

282282
if (trace_level_ & kTraceDetail)
283-
sql_print_information("%s: free all nodes back to free list", kWho);
283+
sql_print_information("%s: cleared all nodes", kWho);
284284
}
285285
else if (new_front != trx_front_)
286286
{
@@ -292,6 +292,7 @@ int ActiveTranx::clear_active_tranx_nodes(const char *log_file_name,
292292
while (curr_node != new_front)
293293
{
294294
next_node = curr_node->next_;
295+
n_frees++;
295296

296297
/* Remove the node from the hash table. */
297298
unsigned int hash_val = get_hash_value(curr_node->log_name_, curr_node->log_pos_);
@@ -312,7 +313,7 @@ int ActiveTranx::clear_active_tranx_nodes(const char *log_file_name,
312313
trx_front_ = new_front;
313314

314315
if (trace_level_ & kTraceDetail)
315-
sql_print_information("%s: free %d nodes back until pos (%s, %lu)",
316+
sql_print_information("%s: cleared %d nodes back until pos (%s, %lu)",
316317
kWho, n_frees,
317318
trx_front_->log_name_, (unsigned long)trx_front_->log_pos_);
318319
}

0 commit comments

Comments
 (0)