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");
?>
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php