summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/mysqli_errno.phpt
diff options
context:
space:
mode:
authorUlf Wendel <uw@php.net>2009-09-24 12:51:03 +0000
committerUlf Wendel <uw@php.net>2009-09-24 12:51:03 +0000
commite123cae8acfbd76cf7d729ad912d1a0a78f7f750 (patch)
tree92efbed12a3fab64dc999773bf574a69f930e613 /ext/mysqli/tests/mysqli_errno.phpt
parentfe1709ec49851703dba772cd2fddd15aa4d75ecd (diff)
downloadphp-git-e123cae8acfbd76cf7d729ad912d1a0a78f7f750.tar.gz
Proxying as many connect calls as possible to make testing of the compression protocol @ mysqlnd easier. By setting the environment variable MYSQL_TEST_COMPRESS you can tell the tests to set the MYSQLI_CLIENT_COMPRESS flag upon connect.
Diffstat (limited to 'ext/mysqli/tests/mysqli_errno.phpt')
-rw-r--r--ext/mysqli/tests/mysqli_errno.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/tests/mysqli_errno.phpt b/ext/mysqli/tests/mysqli_errno.phpt
index 786a716e35..48acbb6235 100644
--- a/ext/mysqli/tests/mysqli_errno.phpt
+++ b/ext/mysqli/tests/mysqli_errno.phpt
@@ -19,7 +19,7 @@ require_once('skipifconnectfailure.inc');
if (!is_null($tmp = @mysqli_errno($link)))
printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
- if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
+ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
printf("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
$host, $user, $db, $port, $socket);
}