Skip to content

Commit 162bd2a

Browse files
committed
Fix missing link variable in test
1 parent 997a367 commit 162bd2a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ext/mysqli/tests/gh11438.phpt

Lines changed: 4 additions & 0 deletions
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)