Skip to content

Commit

Permalink
Fix missing link variable in test
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsdos committed Aug 3, 2023
1 parent 997a367 commit 162bd2a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ext/mysqli/tests/gh11438.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ print "done!";
--CLEAN--
<?php
require_once 'connect.inc';
if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
printf("[clean] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
$host, $user, $db, $port, $socket);
}
$link->query('DROP USER shatest');
$link->query('DROP USER shatest@localhost');
?>
Expand Down

0 comments on commit 162bd2a

Please sign in to comment.