version_patch

Syntax

sys.version_patch()

Description

version_patch is a stored function available with the Sys Schema.

It returns the MariaDB Server patch release version.

Examples

SELECT VERSION(),
 sys.version_major() AS major, 
 sys.version_minor() AS minor,
 sys.version_patch() AS patch;
+----------------+-------+-------+-------+
| VERSION()      | major | minor | patch |
+----------------+-------+-------+-------+
| 10.8.2-MariaDB |    10 |     8 |     2 |
+----------------+-------+-------+-------+

See Also

This page is licensed: CC BY-SA / Gnu FDL

Last updated

Was this helpful?