svn: /php/php-src/ branches/PHP_5_3/ext/mysqli/tests/connect.inc branches/PHP_5_4/ext/mysqli/tests/connect.inc trunk/ext/mysqli/tests/connect.inc
| From: | Ulf Wendel | Date: | Tue, 06 Sep 2011 13:39:46 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_3/ext/mysqli/tests/connect.inc branches/PHP_5_4/ext/mysqli/tests/connect.inc trunk/ext/mysqli/tests/connect.inc | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-66303@lists.php.net to get a copy of this message | ||
uw Tue, 06 Sep 2011 13:39:46 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=316257
Log:
Prevent Notice
Changed paths:
U php/php-src/branches/PHP_5_3/ext/mysqli/tests/connect.inc
U php/php-src/branches/PHP_5_4/ext/mysqli/tests/connect.inc
U php/php-src/trunk/ext/mysqli/tests/connect.inc
Modified: php/php-src/branches/PHP_5_3/ext/mysqli/tests/connect.inc
===================================================================
--- php/php-src/branches/PHP_5_3/ext/mysqli/tests/connect.inc 2011-09-06 13:38:14 UTC (rev 316256)
+++ php/php-src/branches/PHP_5_3/ext/mysqli/tests/connect.inc 2011-09-06 13:39:46 UTC (rev 316257)
@@ -223,7 +223,7 @@
}
function have_innodb($link) {
- if ($res = $link->query("SHOW VARIABLES LIKE 'have_innodb'") &&
+ if (($res = $link->query("SHOW VARIABLES LIKE 'have_innodb'"))
&&
$row = $res->fetch_row() &&
!empty($row)) {
if ($row[1] == "DISABLED" || $row[1] == "NO") {
Modified: php/php-src/branches/PHP_5_4/ext/mysqli/tests/connect.inc
===================================================================
--- php/php-src/branches/PHP_5_4/ext/mysqli/tests/connect.inc 2011-09-06 13:38:14 UTC (rev 316256)
+++ php/php-src/branches/PHP_5_4/ext/mysqli/tests/connect.inc 2011-09-06 13:39:46 UTC (rev 316257)
@@ -223,7 +223,7 @@
}
function have_innodb($link) {
- if ($res = $link->query("SHOW VARIABLES LIKE 'have_innodb'") &&
+ if (($res = $link->query("SHOW VARIABLES LIKE 'have_innodb'"))
&&
$row = $res->fetch_row() &&
!empty($row)) {
if ($row[1] == "DISABLED" || $row[1] == "NO") {
Modified: php/php-src/trunk/ext/mysqli/tests/connect.inc
===================================================================
--- php/php-src/trunk/ext/mysqli/tests/connect.inc 2011-09-06 13:38:14 UTC (rev 316256)
+++ php/php-src/trunk/ext/mysqli/tests/connect.inc 2011-09-06 13:39:46 UTC (rev 316257)
@@ -223,7 +223,7 @@
}
function have_innodb($link) {
- if ($res = $link->query("SHOW VARIABLES LIKE 'have_innodb'") &&
+ if (($res = $link->query("SHOW VARIABLES LIKE 'have_innodb'"))
&&
$row = $res->fetch_row() &&
!empty($row)) {
if ($row[1] == "DISABLED" || $row[1] == "NO") {