Skip to content

Commit 77417f8

Browse files
committed
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1: Fix missing link variable in test
2 parents 75441d7 + 162bd2a commit 77417f8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ext/mysqli/tests/gh11438.phpt

+4
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ print "done!";
7777
--CLEAN--
7878
<?php
7979
require_once 'connect.inc';
80+
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
81+
printf("[clean] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
82+
$host, $user, $db, $port, $socket);
83+
}
8084
$link->query('DROP USER shatest');
8185
$link->query('DROP USER shatest@localhost');
8286
?>

0 commit comments

Comments
 (0)