diff --git a/storage/perfschema/service_pfs_notification.cc b/storage/perfschema/service_pfs_notification.cc index 61eebbb..45e544c 100644 --- a/storage/perfschema/service_pfs_notification.cc +++ b/storage/perfschema/service_pfs_notification.cc @@ -136,7 +136,7 @@ struct PFS_notification_registry { } } - bool is_empty() { return m_count > 0; } + bool is_empty() { return m_count == 0; } /** Add a new registration.