This function returns the patch release version number of the MariaDB Server instance, such as the 4 in 10.6.4.
sys.version_patch()version_patch is a stored function available with the .
It returns the MariaDB Server patch release version.
This page is licensed: CC BY-SA / Gnu FDL
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 |
+----------------+-------+-------+-------+