diff options
author | Ulf Wendel <uw@php.net> | 2011-09-06 16:13:03 +0000 |
---|---|---|
committer | Ulf Wendel <uw@php.net> | 2011-09-06 16:13:03 +0000 |
commit | eb16017160d0519ac3295e40235c0485213144b0 (patch) | |
tree | 97f43d23cfac91a742ca4b4b80c639fd4bb6294a | |
parent | 3d08ebd41951b1cdc41662919925014e7bf34475 (diff) | |
download | php-git-eb16017160d0519ac3295e40235c0485213144b0.tar.gz |
More parenthesis, credits to Nikita Popov
-rw-r--r-- | ext/mysqli/tests/connect.inc | 2 |
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; |