Bug #52807 FLAGS field in EVENTS_WAITS_CURRENT is not documented
Submitted: 14 Apr 2010 6:40 Modified: 14 Apr 2010 16:21
Reporter: Sveta Smirnova Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:5.5.3+ OS:Any
Assigned to: Paul DuBois CPU Architecture:Any

[14 Apr 2010 6:40] Sveta Smirnova
Description:
There is FLAGS field in the performance-schema.EVENTS_WAITS_CURRENT table:

mysql> desc EVENTS_WAITS_CURRENT;
+-----------------------+---------------------+------+-----+---------+-------+
| Field                 | Type                | Null | Key | Default | Extra |
+-----------------------+---------------------+------+-----+---------+-------+
| THREAD_ID             | int(11)             | NO   |     | NULL    |       |
| EVENT_ID              | bigint(20) unsigned | NO   |     | NULL    |       |
...
| FLAGS                 | int(10) unsigned    | YES  |     | NULL    |       |
+-----------------------+---------------------+------+-----+---------+-------+
16 rows in set (0.13 sec)

But neither http://dev.mysql.com/doc/refman/5.5/en/performance-schema-current-tables.html, nor http://dev.mysql.com/doc/performance-schema/en/performance-schema-current-tables.html contains no word about this field.

How to repeat:
See description.
[14 Apr 2010 16:21] Paul DuBois
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant products.

According to Marc, it's reserved for future use.