Annotation of embedaddon/php/ext/mysqli/tests/clean_table.inc, revision 1.1.1.1

1.1       misho       1: <?PHP
                      2: require_once('connect.inc');
                      3: 
                      4: if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
                      5:        printf("[clean] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
                      6:                $host, $user, $db, $port, $socket);
                      7: }
                      8: 
                      9: if (!mysqli_query($link, 'DROP TABLE IF EXISTS test')) {
                     10:        printf("[clean] Failed to drop old test table: [%d] %s\n", mysqli_errno($link), mysqli_error($link));
                     11: }
                     12: 
                     13: mysqli_close($link);
                     14: ?>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>