MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
uses_vardir.inc
1 #
2 # Some tests uses LOAD DATA with a relative path
3 # and need to see for example ../std_data
4 #
5 # Also if an absolute path was used, the server might be started
6 # with --secure-file-priv and wouldn't be allowed to LOAD a file
7 # outside of it's vardir anyway
8 #
9 
10 
11 if (`select LOCATE('$MYSQLTEST_VARDIR', REPLACE(@@datadir, '\\\\', '/')) != 1`)
12 {
13  skip Need mysqld in MYSQLTEST_VARDIR;
14 }