com php-src: Fix clean section of test case: ext/mysqli/tests/bug77956.phpt
| From: | Christoph Michael Becker | Date: | Mon, 11 Nov 2019 14:57:42 +0000 |
| Subject: | com php-src: Fix clean section of test case: ext/mysqli/tests/bug77956.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-109240@lists.php.net to get a copy of this message | ||
Commit: 8c5ca24e11dc9420192cfafb7f216db06ad3aa08
Author: Christoph M. Becker <cmbecker69@gmx.de> Mon, 11 Nov 2019 15:56:44 +0100
Parents: dccd137e1a77d9ea04c2a0bb67eb1e14cd992b37
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8c5ca24e11dc9420192cfafb7f216db06ad3aa08
Log:
Fix clean section of test case
Changed paths:
M ext/mysqli/tests/bug77956.phpt
Diff:
diff --git a/ext/mysqli/tests/bug77956.phpt b/ext/mysqli/tests/bug77956.phpt
index b3c7943c93c..0a3fd183eff 100644
--- a/ext/mysqli/tests/bug77956..phpt
+++ b/ext/mysqli/tests/bug77956.phpt
@@ -38,7 +38,7 @@ 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);
}
-if (!$link->query($link, 'DROP TABLE IF EXISTS test')) {
+if (!$link->query('DROP TABLE IF EXISTS test')) {
printf("[clean] Failed to drop old test table: [%d] %s\n", mysqli_errno($link),
mysqli_error($link));
}
$link->close();