uw                                       Tue, 06 Sep 2011 16:13:03 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=316278

Log:
More parenthesis, credits to Nikita Popov

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 
16:10:11 UTC (rev 316277)
+++ php/php-src/branches/PHP_5_3/ext/mysqli/tests/connect.inc   2011-09-06 
16:13:03 UTC (rev 316278)
@@ -224,7 +224,7 @@

                function have_innodb($link) {
                  if (($res = $link->query("SHOW VARIABLES LIKE 
'have_innodb'")) &&
-                               $row = $res->fetch_row() &&
+                               ($row = $res->fetch_row()) &&
                                !empty($row)) {
                                if ($row[1] == "DISABLED" || $row[1] == "NO") {
                                        return false;

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 
16:10:11 UTC (rev 316277)
+++ php/php-src/branches/PHP_5_4/ext/mysqli/tests/connect.inc   2011-09-06 
16:13:03 UTC (rev 316278)
@@ -224,7 +224,7 @@

                function have_innodb($link) {
                  if (($res = $link->query("SHOW VARIABLES LIKE 
'have_innodb'")) &&
-                               $row = $res->fetch_row() &&
+                               ($row = $res->fetch_row()) &&
                                !empty($row)) {
                                if ($row[1] == "DISABLED" || $row[1] == "NO") {
                                        return false;

Modified: php/php-src/trunk/ext/mysqli/tests/connect.inc
===================================================================
--- php/php-src/trunk/ext/mysqli/tests/connect.inc      2011-09-06 16:10:11 UTC 
(rev 316277)
+++ php/php-src/trunk/ext/mysqli/tests/connect.inc      2011-09-06 16:13:03 UTC 
(rev 316278)
@@ -224,7 +224,7 @@

                function have_innodb($link) {
                  if (($res = $link->query("SHOW VARIABLES LIKE 
'have_innodb'")) &&
-                               $row = $res->fetch_row() &&
+                               ($row = $res->fetch_row()) &&
                                !empty($row)) {
                                if ($row[1] == "DISABLED" || $row[1] == "NO") {
                                        return false;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to