Diff for /embedaddon/php/ext/mysql/tests/mysql_query_load_data_openbasedir.phpt between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2012/02/21 23:47:58 version 1.1.1.2, 2012/05/29 12:34:41
Line 3  LOAD DATA INFILE - open_basedir Line 3  LOAD DATA INFILE - open_basedir
 --SKIPIF--  --SKIPIF--
 <?php  <?php
 @include_once("connect.inc");  @include_once("connect.inc");
   
 if (!isset($db)) {  
   die("skip open_basedir setting prevents inclusing of required files");  
 }  
   
 include_once('skipif.inc');  include_once('skipif.inc');
 include_once('skipifconnectfailure.inc');  include_once('skipifconnectfailure.inc');
   
Line 31  if ($socket == "" && $host != NULL && $host != 'localh Line 26  if ($socket == "" && $host != NULL && $host != 'localh
         }          }
 }  }
 ?>  ?>
 --INI--  
 open_basedir="."  
 --FILE--  --FILE--
 <?php  <?php
 @include_once("connect.inc");  @include_once("connect.inc");
ini_set("open_basedir", __DIR__);
 chdir(__DIR__);
 if (!isset($db)) {  if (!isset($db)) {
         // run-tests, I love you for not allowing me to set ini settings dynamically          // run-tests, I love you for not allowing me to set ini settings dynamically
         print "[006] [1148] The used command is not allowed with this MySQL version          print "[006] [1148] The used command is not allowed with this MySQL version

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>