mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-30 18:36:12 +01:00 
			
		
		
		
	 20a6f54651
			
		
	
	
	20a6f54651
	
	
	
		
			
			- Fix test to work on OS where backslashes are forward mysql-test/include/uses_vardir.inc: Make the test work on windows too
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			385 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			385 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
 | |
| #
 | |
| 
 | |
| 
 | |
| if (`select LOCATE('$MYSQLTEST_VARDIR', REPLACE(@@datadir, '\\\\', '/')) != 1`)
 | |
| {
 | |
|   skip Need mysqld in MYSQLTEST_VARDIR;
 | |
| }
 |