mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Remove unnecessary parentheses around language constructs in mysqli
This commit is contained in:
@@ -4,11 +4,11 @@ mysqli connect
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
$test = "";
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli bind_result 1
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
@@ -49,7 +49,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli connect
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
@@ -75,7 +75,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli fetch char/text
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
include ("connect.inc");
|
||||
include ('connect.inc');
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -53,7 +53,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli fetch char/text long
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -43,7 +43,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli fetch long values
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -48,7 +48,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli fetch short values
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -48,7 +48,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli fetch tinyint values
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -48,7 +48,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -8,11 +8,11 @@ mysqli
|
||||
echo 'skip test valid only for 32bit systems';
|
||||
exit;
|
||||
}
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -81,7 +81,7 @@ mysqli
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -6,11 +6,11 @@ precision=12
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -51,7 +51,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -6,11 +6,11 @@ precision=12
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -48,7 +48,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -6,11 +6,11 @@ precision=12
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -47,7 +47,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli fetch mixed / mysql_query (may fail when using 4.1 library with 5.x serve
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -56,7 +56,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ mysqli autocommit/commit/rollback
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once "connect.inc";
|
||||
require_once 'connect.inc';
|
||||
if (!$link = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
|
||||
die(sprintf("skip Can't connect to MySQL Server - [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
|
||||
}
|
||||
@@ -15,7 +15,7 @@ if (!have_innodb($link)) {
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once "connect.inc";
|
||||
require_once 'connect.inc';
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
if (!mysqli_autocommit($link, TRUE))
|
||||
@@ -78,7 +78,7 @@ if (!have_innodb($link)) {
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once "clean_table.inc";
|
||||
require_once 'clean_table.inc';
|
||||
?>
|
||||
--EXPECT--
|
||||
Num_of_rows=1
|
||||
|
||||
@@ -4,7 +4,7 @@ mysqli autocommit/commit/rollback with innodb
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once "connect.inc";
|
||||
require_once 'connect.inc';
|
||||
if (!$link = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
|
||||
die(sprintf("skip Can't connect to MySQL Server - [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
|
||||
}
|
||||
@@ -15,7 +15,7 @@ if (!have_innodb($link)) {
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once "connect.inc";
|
||||
require_once 'connect.inc';
|
||||
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
if (!$link)
|
||||
@@ -77,7 +77,7 @@ if (!have_innodb($link)) {
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once "clean_table.inc";
|
||||
require_once 'clean_table.inc';
|
||||
?>
|
||||
--EXPECT--
|
||||
array(2) {
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli fetch user variable
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli fetch functions
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli fetch system variables
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli fetch (bind_param + bind_result)
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -58,7 +58,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli bind_param/bind_result date
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -70,7 +70,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli bind_param+bind_result char/text
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -41,7 +41,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli bind_param/bind_result char/text long
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -46,7 +46,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli bind_param/bind_prepare fetch long values
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -55,7 +55,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli bind_param/bind_result short values
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -55,7 +55,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli bind_param/bind_result tinyint values
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -60,7 +60,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli bind_param/bind_result with send_long_data
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -47,7 +47,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ function test: mysqli_stat
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
@@ -4,11 +4,11 @@ function test: mysqli_character_set_name
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
@@ -4,11 +4,11 @@ function test: mysqli_affected_rows
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -29,7 +29,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ function test: mysqli_errno
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
@@ -4,11 +4,11 @@ function test: mysqli_error
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
@@ -4,11 +4,11 @@ function test: mysqli_info
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -29,7 +29,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ function test: mysqli_get_host_info
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
@@ -4,11 +4,11 @@ function test: mysqli_get_proto_info
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
@@ -4,11 +4,11 @@ function test: mysqli_get_server_info
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
@@ -8,11 +8,11 @@ mysqli
|
||||
echo 'skip test valid only for 32bit systems';
|
||||
exit;
|
||||
}
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -45,7 +45,7 @@ mysqli
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,12 +4,12 @@ function test: mysqli_field_count()
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -35,7 +35,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ function test: mysqli_num_fields()
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -35,7 +35,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ function test: mysqli_num_fields() 2
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
@@ -4,11 +4,11 @@ function test: mysqli_num_rows()
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -34,7 +34,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,12 +4,12 @@ function test: mysqli_warning_count()
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -25,7 +25,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli_fetch_object
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -51,7 +51,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli_stmt_bind_param (UPDATE)
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -43,7 +43,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli_get_server_version
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
@@ -19,7 +19,7 @@ mysqli
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once "connect.inc";
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli_stmt_affected_rows (delete)
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -37,7 +37,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli_stmt_result_metadata
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -48,7 +48,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli bind_result (OO-Style)
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$mysql = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -43,7 +43,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ mysql_fetch_row (OO-Style)
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$mysql = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
@@ -4,11 +4,11 @@ non freed statement test
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/************************
|
||||
* non freed stamement
|
||||
|
||||
@@ -4,11 +4,11 @@ free statement after close
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/************************
|
||||
* free statement after close
|
||||
|
||||
@@ -4,11 +4,11 @@ call statement after close
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/************************
|
||||
* statement call after close
|
||||
|
||||
@@ -4,11 +4,11 @@ not freed resultset
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/************************
|
||||
* non freed resultset
|
||||
|
||||
@@ -4,11 +4,11 @@ free resultset after close
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/************************
|
||||
* free resultset after close
|
||||
|
||||
@@ -4,11 +4,11 @@ free nothing
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/************************
|
||||
* don't free anything
|
||||
|
||||
@@ -4,11 +4,11 @@ extend mysqli
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
class foobar extends mysqli {
|
||||
function test () {
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli_stmt_result_metadata
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -64,7 +64,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ multiple binds
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -51,7 +51,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ sqlmode + bind
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -44,7 +44,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli_fetch_object with classes
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
class test_class {
|
||||
function __construct($arg1, $arg2) {
|
||||
@@ -45,7 +45,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ resultset constructor
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
$mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ resultset constructor
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
$mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ NULL binding
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
$mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ set character set
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
|
||||
if (!function_exists('mysqli_set_charset')) {
|
||||
die('skip mysqli_set_charset() not available');
|
||||
@@ -12,7 +12,7 @@ if (!function_exists('mysqli_set_charset')) {
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
if (!$mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
@@ -4,11 +4,11 @@ function test: mysqli_warning object
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -33,7 +33,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ function test: nested selects (cursors)
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once "connect.inc";
|
||||
require_once 'connect.inc';
|
||||
|
||||
if (!$link = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
die(sprintf("skip Can't connect to MySQL Server - [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
|
||||
@@ -28,7 +28,7 @@ mysqli
|
||||
return $stmt;
|
||||
}
|
||||
|
||||
require_once "connect.inc";
|
||||
require_once 'connect.inc';
|
||||
$mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
if (mysqli_get_server_version($mysql) < 50009) {
|
||||
@@ -64,7 +64,7 @@ mysqli
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once "connect.inc";
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli multi_query, next_result, more_results
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
$mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket);
|
||||
$mysql->multi_query('SELECT 1;SELECT 2');
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli ping
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
$mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket);
|
||||
var_dump($mysql->ping());
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli thread_id & kill
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
$mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket);
|
||||
$version = $mysql->server_version;
|
||||
|
||||
@@ -4,11 +4,11 @@ mysqli warning_count, get_warnings
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
$mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
|
||||
@@ -4,12 +4,12 @@ mysqli_autocommit() tests
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
$mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ Bug #28817 (problems with properties declared in the class extending MySQLi)
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
class my_mysql extends mysqli {
|
||||
public $p_test;
|
||||
|
||||
@@ -4,11 +4,11 @@ Bug #29311 (Cannot override mysqli constructor)
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/* class 1 calls parent constructor */
|
||||
class mysql1 extends mysqli {
|
||||
|
||||
@@ -4,11 +4,11 @@ Bug #30967 (problems with properties declared in the class extending the class e
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
class mysql1 extends mysqli {
|
||||
}
|
||||
|
||||
@@ -4,11 +4,11 @@ Bug #31668 (multi_query works exactly every other time (multi_query was global,
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
$mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket);
|
||||
$mysql->multi_query('SELECT 1;SELECT 2');
|
||||
|
||||
@@ -4,11 +4,11 @@ Bug #32405 (mysqli->fetch() is returning bad data)
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -34,7 +34,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ Bug #33090 (mysql_prepare doesn't return an error)
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
include ("connect.inc");
|
||||
include ('connect.inc');
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$link = my_mysqli_connect($host, $user, $passwd, null, $port, $socket);
|
||||
|
||||
@@ -4,11 +4,11 @@ Bug #33263 (mysqli_real_connect in __construct)
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
class test extends mysqli
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ error_reporting=1
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
@@ -19,7 +19,7 @@ class DB extends mysqli
|
||||
}
|
||||
}
|
||||
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
// Segfault when using the DB class which extends mysqli
|
||||
$DB = new DB($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
@@ -4,11 +4,11 @@ Bug #34785 (Cannot properly subclass mysqli_stmt)
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
include ("connect.inc");
|
||||
include ('connect.inc');
|
||||
|
||||
class my_stmt extends mysqli_stmt
|
||||
{
|
||||
|
||||
@@ -4,14 +4,14 @@ Bug #34810 (mysqli::init() and others use wrong $this pointer without checks)
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
class DbConnection {
|
||||
public function connect() {
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/* Pass false as $connect_flags cannot be accessed via globals. */
|
||||
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket, false);
|
||||
@@ -51,7 +51,7 @@ echo "Done\n";
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ Bug #35103 (Bad handling of unsigned bigint)
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
@@ -13,7 +13,7 @@ $drop = <<<EOSQL
|
||||
DROP TABLE test_bint;
|
||||
DROP TABLE test_buint;
|
||||
EOSQL;
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
$mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket);
|
||||
$mysql->query("DROP TABLE IF EXISTS test_bint");
|
||||
@@ -54,7 +54,7 @@ EOSQL;
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ Bug #35517 (mysqli_stmt_fetch returns NULL)
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
$mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
@@ -37,7 +37,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,12 +4,12 @@ Bug #35759 (mysqli_stmt_bind_result() makes huge allocation when column empty)
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
$col_num= 1000;
|
||||
|
||||
$mysql = new mysqli($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -54,6 +54,6 @@ require_once('skipifconnectfailure.inc');
|
||||
echo "done!";
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php require("clean_table.inc"); ?>
|
||||
<?php require 'clean_table.inc'; ?>
|
||||
--EXPECT--
|
||||
done!
|
||||
|
||||
@@ -4,12 +4,12 @@ Bug #36420 (segfault when access result->num_rows after calling result->close())
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
$mysqli = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
$result = $mysqli->query('select 1');
|
||||
|
||||
@@ -4,13 +4,13 @@ Bug #36745 (LOAD DATA LOCAL INFILE doesn't return correct error message)
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--INI--
|
||||
mysqli.allow_local_infile=1
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
/*** test mysqli_connect 127.0.0.1 ***/
|
||||
$mysql = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
||||
@@ -26,7 +26,7 @@ mysqli.allow_local_infile=1
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ mysqli
|
||||
}
|
||||
}
|
||||
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
$mysql = mysqli_init();
|
||||
|
||||
/* following operations should not work */
|
||||
|
||||
@@ -4,11 +4,11 @@ Bug #36949 (invalid internal mysqli objects dtor)
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
class A {
|
||||
|
||||
private $mysqli;
|
||||
@@ -50,7 +50,7 @@ $B = new B();
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,14 +4,14 @@ Bug #37090 (mysqli_set_charset return code)
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
if (!function_exists('mysqli_set_charset')) {
|
||||
die('skip mysqli_set_charset() not available');
|
||||
}
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
$mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ Bug #38710 (data leakage because of nonexisting boundary checking in statements)
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
$db = new my_mysqli($host, $user, $passwd, $db, $port, $socket);
|
||||
$qry=$db->stmt_init();
|
||||
|
||||
@@ -4,11 +4,11 @@ Bug #39457 (Multiple invoked OO connections never close)
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
$mysql = mysqli_init();
|
||||
$mysql->connect($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
@@ -4,13 +4,13 @@ Bug #42378 (bind_result memory exhaustion, SELECT column, FORMAT(...) AS _format
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--INI--
|
||||
memory_limit=83886080
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
function create_table($link, $column, $min, $max, $engine, $offset) {
|
||||
|
||||
@@ -182,7 +182,7 @@ memory_limit=83886080
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("clean_table.inc");
|
||||
require_once 'clean_table.inc';
|
||||
?>
|
||||
--EXPECT--
|
||||
FLOAT
|
||||
|
||||
@@ -52,7 +52,7 @@ print "done!";
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once "connect.inc";
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ if (mysqli_get_server_version($link) <= 50000) {
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("table.inc");
|
||||
require_once 'table.inc';
|
||||
|
||||
if (!$link->query('DROP PROCEDURE IF EXISTS p'))
|
||||
printf("[001] [%d] %s\n", $link->errno, $link->error);
|
||||
@@ -69,7 +69,7 @@ if (mysqli_get_server_version($link) <= 50000) {
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
||||
printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
|
||||
|
||||
|
||||
@@ -4,12 +4,12 @@ Bug #45019 (Segmentation fault with SELECT ? and UNION)
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once("table.inc");
|
||||
require_once 'connect.inc';
|
||||
require_once 'table.inc';
|
||||
|
||||
// Regular (non-prepared) queries
|
||||
print "Using CAST('somestring' AS CHAR)...\n";
|
||||
|
||||
@@ -4,11 +4,11 @@ Bug #45289 (Bogus store_result on PS)
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require('table.inc');
|
||||
require 'table.inc';
|
||||
|
||||
$link->close();
|
||||
|
||||
@@ -32,7 +32,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("clean_table.inc");
|
||||
require_once 'clean_table.inc';
|
||||
?>
|
||||
--EXPECTF--
|
||||
[004] [%s
|
||||
|
||||
@@ -4,11 +4,11 @@ Bug #46109 (MySQLi::init - Memory leaks)
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
$mysqli = new mysqli();
|
||||
$mysqli->init();
|
||||
|
||||
@@ -4,7 +4,7 @@ Bug #46614 (Extended MySQLi class gives incorrect empty() result)
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
if (!defined("MYSQLI_ASYNC")) {
|
||||
die("skip mysqlnd only");
|
||||
}
|
||||
@@ -22,7 +22,7 @@ class MySQL_Ext extends mysqli{
|
||||
}
|
||||
}
|
||||
|
||||
include ("connect.inc");
|
||||
include ('connect.inc');
|
||||
$MySQL_Ext = new MySQL_Ext($host, $user, $passwd, $db, $port, $socket);
|
||||
|
||||
$isEmpty = $MySQL_Ext->isEmpty();
|
||||
|
||||
@@ -4,14 +4,14 @@ Bug #47050 (mysqli_poll() modifies improper variables)
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
if (!defined("MYSQLI_ASYNC")) {
|
||||
die("skip mysqlnd only");
|
||||
}
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
include ("connect.inc");
|
||||
include ('connect.inc');
|
||||
|
||||
$link1 = my_mysqli_connect($host, $user, $passwd, null, $port, $socket);
|
||||
mysqli_select_db($link1, $db);
|
||||
|
||||
@@ -4,11 +4,11 @@ Bug #48909 (Segmentation fault in mysqli_stmt_execute)
|
||||
mysqli
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once('skipifconnectfailure.inc');
|
||||
require_once 'skipifconnectfailure.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once("connect.inc");
|
||||
require_once 'connect.inc';
|
||||
|
||||
if (!($link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)))
|
||||
printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
|
||||
@@ -41,7 +41,7 @@ require_once('skipifconnectfailure.inc');
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
require_once("clean_table.inc");
|
||||
require_once 'clean_table.inc';
|
||||
?>
|
||||
--EXPECT--
|
||||
done
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user