Skip to content

Commit e7879a8

Browse files
committed
WL#6616 PERFORMANCE SCHEMA, INDEXES
A minor fix missed in the earlier patch
1 parent 5615b16 commit e7879a8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

storage/perfschema/table_ews_global_by_event_name.cc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,10 @@ int table_ews_global_by_event_name::index_next(void)
426426
{
427427
if (m_opened_index->match(table_class))
428428
{
429-
make_table_io_row(table_class);
429+
if (m_pos.m_index_2 == 1)
430+
make_table_io_row(table_class);
431+
else
432+
make_table_lock_row(table_class);
430433
m_next_pos.set_after(&m_pos);
431434
return 0;
432435
}

0 commit comments

Comments
 (0)