summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2006-07-11 23:43:55 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2006-07-11 23:43:55 +0000
commitae749049f5356d48bd5be4c2b3f146f355330da7 (patch)
tree07a66b87fd206b23336dad9e4a5374cea7ce38ae
parent61e978315435483d066cda20c1f0501b6e005e43 (diff)
downloadphp-git-ae749049f5356d48bd5be4c2b3f146f355330da7.tar.gz
MFH make sure that embedded database is correctly initialized
-rw-r--r--ext/mysqli/tests/connect.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/mysqli/tests/connect.inc b/ext/mysqli/tests/connect.inc
index 61ed36bdce..ea24ff89ae 100644
--- a/ext/mysqli/tests/connect.inc
+++ b/ext/mysqli/tests/connect.inc
@@ -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);
}