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 | cc24c30307ee36913dfc2ee198a4d2dfcd42238e (patch) | |
tree | 85e60c2f001f2a8e4eabff6692a09d7c48beafda | |
parent | 8e330affd62a761dd61906585d41737d08882be4 (diff) | |
download | php-git-cc24c30307ee36913dfc2ee198a4d2dfcd42238e.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; |