hholzgra                Tue Jul 11 23:43:55 2006 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/mysqli/tests   connect.inc 
  Log:
  MFH make sure that embedded database is correctly initialized
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/mysqli/tests/connect.inc?r1=1.6.2.1.2.1&r2=1.6.2.1.2.2&diff_format=u
Index: php-src/ext/mysqli/tests/connect.inc
diff -u php-src/ext/mysqli/tests/connect.inc:1.6.2.1.2.1 
php-src/ext/mysqli/tests/connect.inc:1.6.2.1.2.2
--- php-src/ext/mysqli/tests/connect.inc:1.6.2.1.2.1    Tue Jul 11 23:42:58 2006
+++ php-src/ext/mysqli/tests/connect.inc        Tue Jul 11 23:43:55 2006
@@ -16,7 +16,8 @@
                                        "--datadir=$path", 
                                        "--innodb_data_home_dir=$path",
                                        
"--innodb_data_file_path=ibdata1:10M:autoextend",
-                                       "--log-error=$path/testrun.log"
+                                       "--log-error=$path/testrun.log",
+                                        "--init-connect='CREATE DATABASE IF 
NOT EXISTS test;'"
                                );
                $driver->embedded_server_start(TRUE, $args, NULL);
        }

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to