mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
16 lines
439 B
PHP
16 lines
439 B
PHP
|
#
|
||
|
# Some tests uses LOAD DATA with a relative path
|
||
|
# and need to see for example ../std_data
|
||
|
#
|
||
|
# Also if an absolute path was used, the server might be started
|
||
|
# with --secure-file-priv and wouldn't be allowed to LOAD a file
|
||
|
# outside of it's vardir anyway
|
||
|
#
|
||
|
|
||
|
let $datadir=
|
||
|
query_get_value("SHOW VARIABLES LIKE 'datadir'", Value, 1);
|
||
|
if (`select LOCATE("$MYSQLTEST_VARDIR", "$datadir") != 1`)
|
||
|
{
|
||
|
skip Need mysqld in MYSQLTEST_VARDIR;
|
||
|
}
|