def _meets_min_server_version(version: str, min_version: str) -> bool:
    """
    Check if a MariaDB server version meets minimum required version.

    Args:
        version: Version string from MariaDB server (e.g. "11.7.1-MariaDB-ubu2404")
        min_version: Minimum required version string (e.g. "11.7.1")

    Returns:
        bool: True if version >= min_version, False otherwise

    """
    version = version.split("-")[0]
    version_parts = [int(x) for x in version.split(".")]
    min_version_parts = [int(x) for x in min_version.split(".")]
    return version_parts >= min_version_parts

    Check if a MariaDB server version meets minimum required version.

    Args:
        version: Version string from MariaDB server (e.g. "11.7.1-MariaDB-ubu2404")
        min_version: Minimum required version string (e.g. "11.7.1")

    Returns:
        bool: True if version >= min_version, False otherwise

    
llama-index-integrations/vector_stores/llama-index-vector-stores-mariadb/llama_index/vector_stores/mariadb/base.py