def METHOD_NAME(conn):
    # Do not implement `get_all_vars()`, just fetch the ones we need for this check.
    # Without the GLOBAL modifier, SHOW VARIABLES displays the values that are used for
    # the current connection to MariaDB.
    sql = """
        show global variables
        where variable_name like 'innodb_buffer_pool_instances'
            or variable_name like 'innodb_buffer_pool_size'
            ;
          """
    return lib.base.coe(lib.db_mysql.select(conn, sql))