summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/mysqli_options_openbasedir.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
commitc01b505a44a353ea79adc3762382037d8f6a6638 (patch)
treef367f3e0158a257d80e081d77894cbe34d8b2baa /ext/mysqli/tests/mysqli_options_openbasedir.phpt
parent9b923dd6cedd2ce76458d0194697965c47b3c913 (diff)
downloadphp-git-c01b505a44a353ea79adc3762382037d8f6a6638.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_options_openbasedir.phpt')
-rw-r--r--ext/mysqli/tests/mysqli_options_openbasedir.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/tests/mysqli_options_openbasedir.phpt b/ext/mysqli/tests/mysqli_options_openbasedir.phpt
index d5a5bf45ca..81d8ffef64 100644
--- a/ext/mysqli/tests/mysqli_options_openbasedir.phpt
+++ b/ext/mysqli/tests/mysqli_options_openbasedir.phpt
@@ -11,7 +11,7 @@ open_basedir="."
--FILE--
<?php
require_once('connect.inc');
- if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket))
+ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
printf("[001] Cannot connect, [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
if (false !== mysqli_options($link, MYSQLI_OPT_LOCAL_INFILE, 1))