Fix missing link variable in test

This commit is contained in:
Niels Dossche 2023-08-03 21:11:55 +02:00
parent 997a36750b
commit 162bd2a58a

View file

@ -77,6 +77,10 @@ print "done!";
--CLEAN-- --CLEAN--
<?php <?php
require_once 'connect.inc'; 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');
$link->query('DROP USER shatest@localhost'); $link->query('DROP USER shatest@localhost');
?> ?>