summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/012.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/012.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/012.phpt')
-rw-r--r--ext/mysqli/tests/012.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqli/tests/012.phpt b/ext/mysqli/tests/012.phpt
index 9a9c985b26..2ce8104005 100644
--- a/ext/mysqli/tests/012.phpt
+++ b/ext/mysqli/tests/012.phpt
@@ -12,7 +12,7 @@ require_once('skipifconnectfailure.inc');
include "connect.inc";
/*** test mysqli_connect 127.0.0.1 ***/
- $link = mysqli_connect($host, $user, $passwd, $db, $port, $socket);
+ $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_result"))
printf("[001] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
@@ -47,7 +47,7 @@ require_once('skipifconnectfailure.inc');
--CLEAN--
<?php
include "connect.inc";
-if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket))
+if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_result"))