cvs: php-src /ext/mysqli/tests connect.inc skipifnotemb.inc

From: Date: Tue, 11 Jul 2006 23:41:41 +0000
Subject: cvs: php-src /ext/mysqli/tests connect.inc skipifnotemb.inc
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-39168@lists.php.net to get a copy of this message
hholzgra Tue Jul 11 23:41:41 2006 UTC Added files: /php-src/ext/mysqli/tests skipifnotemb.inc Modified files: /php-src/ext/mysqli/tests connect.inc Log: make sure embedded server is correctly initialized http://cvs.php.net/viewvc.cgi/php-src/ext/mysqli/tests/connect.inc?r1=1.6&r2=1.7&diff_format=u Index: php-src/ext/mysqli/tests/connect.inc diff -u php-src/ext/mysqli/tests/connect.inc:1.6 php-src/ext/mysqli/tests/connect.inc:1.7 --- php-src/ext/mysqli/tests/connect.inc:1.6 Wed Jun 22 13:41:59 2005 +++ php-src/ext/mysqli/tests/connect.inc Tue Jul 11 23:41:40 2006 @@ -15,7 +15,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); } http://cvs.php.net/viewvc.cgi/php-src/ext/mysqli/tests/skipifnotemb.inc?view=markup&rev=1.1 Index: php-src/ext/mysqli/tests/skipifnotemb.inc +++ php-src/ext/mysqli/tests/skipifnotemb.inc <?php $driver = new mysqli_driver(); if (!$driver->embedded) die("skip test for with embedded server only"); ?>

« previous php.cvs (#39168) next »