cvs: php-src(PHP_5_2) /ext/mysqli/tests connect.inc
| From: | Hartmut Holzgraefe | Date: | Tue, 11 Jul 2006 23:43:55 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/mysqli/tests connect.inc | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-39169@lists.php.net to get a copy of this message | ||
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);
}