sys.version_minor()
version_minor is a stored function available with the Sys Schema.
It returns the MariaDB Server minor release version.
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 | +----------------+-------+-------+-------+
© 2023 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/version_minor/