Debian Codegraph @

mysql-test/suite/sysschema/t/fn_extract_schema_from_file_name.test

raw
1 -- source include/not_embedded.inc
2 # Tests for sys schema
3 # Verify the sys.extract_schema_from_file_name() function perfoms as expected
4
5 # Passing NULL should return NULL
6 SELECT sys.extract_schema_from_file_name(NULL);
7
8 # Ensure the right part of the path is extracted
9 SELECT sys.extract_schema_from_file_name('/var/lib/mysql/employees/employee.ibd');