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 | 85e6b8141df092f927196e5df47735b5bd7f5336 (patch) | |
tree | bbaa8e7747de35b43c4ee44c2e27503939f768cf /ext/mysqli | |
parent | 64cca9fb957a56c16aa732ec074de09bb99e3fc3 (diff) | |
download | php-git-85e6b8141df092f927196e5df47735b5bd7f5336.tar.gz |
Prevent Notice
Diffstat (limited to 'ext/mysqli')
-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") { |