-- source include/not_embedded.inc
# Tests for sys schema
# Verify the sys.extract_schema_from_file_name() function perfoms as expected

# Passing NULL should return NULL
SELECT sys.extract_schema_from_file_name(NULL);

# Ensure the right part of the path is extracted
SELECT sys.extract_schema_from_file_name('/var/lib/mysql/employees/employee.ibd');
