diff options
| author | Ulf Wendel <uw@php.net> | 2011-09-06 13:39:46 +0000 |
|---|---|---|
| committer | Ulf Wendel <uw@php.net> | 2011-09-06 13:39:46 +0000 |
| commit | 5ec2ee6c4d81d43b141c2e83204cf35eaabe6056 (patch) | |
| tree | cd8b779c5e84592ed369b449d2c78abc19deaca3 | |
| parent | 1a53d78b0c0042cf0887f23f06d5c8b6325fb70c (diff) | |
| download | php-git-5ec2ee6c4d81d43b141c2e83204cf35eaabe6056.tar.gz | |
Prevent Notice
| -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 ee1dce4640..41bd1c1e93 100644 --- a/ext/mysqli/tests/connect.inc +++ b/ext/mysqli/tests/connect.inc @@ -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") { |
