summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Wendel <uw@php.net>2011-09-06 13:39:46 +0000
committerUlf Wendel <uw@php.net>2011-09-06 13:39:46 +0000
commit5ec2ee6c4d81d43b141c2e83204cf35eaabe6056 (patch)
treecd8b779c5e84592ed369b449d2c78abc19deaca3
parent1a53d78b0c0042cf0887f23f06d5c8b6325fb70c (diff)
downloadphp-git-5ec2ee6c4d81d43b141c2e83204cf35eaabe6056.tar.gz
Prevent Notice
-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 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") {