summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Wendel <uw@php.net>2011-09-06 16:13:03 +0000
committerUlf Wendel <uw@php.net>2011-09-06 16:13:03 +0000
commiteb16017160d0519ac3295e40235c0485213144b0 (patch)
tree97f43d23cfac91a742ca4b4b80c639fd4bb6294a
parent3d08ebd41951b1cdc41662919925014e7bf34475 (diff)
downloadphp-git-eb16017160d0519ac3295e40235c0485213144b0.tar.gz
More parenthesis, credits to Nikita Popov
-rw-r--r--ext/mysqli/tests/connect.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/tests/connect.inc b/ext/mysqli/tests/connect.inc
index 41bd1c1e93..3a9d8ec258 100644
--- a/ext/mysqli/tests/connect.inc
+++ b/ext/mysqli/tests/connect.inc
@@ -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;