Details
-
Bug
-
Status: Stalled (View Workflow)
-
Minor
-
Resolution: Unresolved
-
10.6.1
-
None
-
Linux CentOS 7.7
Description
The comment references only MySQL and also shows an example using a MySQL-based example. This is true for many sys schema objects. Here is an example:
SELECT routine_comment FROM routines WHERE routine_name = 'version_minor' AND routine_schema = 'sys'; |
ROUTINE_COMMENT
|
Description
|
Returns the minor (release series) version of MySQL Server. |
Returns |
TINYINT UNSIGNED
|
Example
|
mysql> SELECT VERSION(), sys.server_minor(); |
+--------------------------------------+---------------------+ |
| VERSION() | sys.version_minor() |
|
+--------------------------------------+---------------------+ |
| 5.7.9-enterprise-commercial-advanced | 7 |
|
+--------------------------------------+---------------------+ |
1 row in set (0.00 sec) |
|
|
The comments section for the sys.diagnostics() procedure even lists supported versions of the routine, listing only MySQL versions:
Versions supported:
|
* MySQL 5.6: 5.6.10 and later |
* MySQL 5.7: 5.7.9 and later |