summaryrefslogtreecommitdiff
path: root/mysql-test/suite/sysschema/r/fn_format_path.result
blob: 5672b09f07a12336268d4e0a68eaccc879efc16e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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