diff options
author | Ulf Wendel <uw@php.net> | 2009-09-24 12:51:03 +0000 |
---|---|---|
committer | Ulf Wendel <uw@php.net> | 2009-09-24 12:51:03 +0000 |
commit | e123cae8acfbd76cf7d729ad912d1a0a78f7f750 (patch) | |
tree | 92efbed12a3fab64dc999773bf574a69f930e613 /ext/mysqli/tests/009.phpt | |
parent | fe1709ec49851703dba772cd2fddd15aa4d75ecd (diff) | |
download | php-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/009.phpt')
-rw-r--r-- | ext/mysqli/tests/009.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqli/tests/009.phpt b/ext/mysqli/tests/009.phpt index 479c5b5700..0584a14cfd 100644 --- a/ext/mysqli/tests/009.phpt +++ b/ext/mysqli/tests/009.phpt @@ -14,7 +14,7 @@ mysqli fetch bigint values (ok to fail with 4.1.x) 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, "SET sql_mode=''")) printf("[001] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); @@ -81,7 +81,7 @@ mysqli fetch bigint values (ok to fail with 4.1.x) --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_fetch")) |