mariadb/mysql-test/suite/sysschema/r/fn_format_path.result
2021-03-18 08:02:48 +01:00

14 lines
425 B
Text

SELECT sys.format_path(NULL);
sys.format_path(NULL)
NULL
SET @mypath := CONCAT(@@global.datadir, 'foo/bar.foo');
SELECT sys.format_path(@mypath);
sys.format_path(@mypath)
@@datadir/foo/bar.foo
SET @mypath := CONCAT(@@global.tmpdir, '/foo/bar.foo');
SELECT sys.format_path(@mypath);
sys.format_path(@mypath)
@@tmpdir/foo/bar.foo
SELECT sys.format_path('/foo/bar/baz.foo');
sys.format_path('/foo/bar/baz.foo')
/foo/bar/baz.foo