~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysql-test/include/uses_vardir.inc

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
}