summaryrefslogtreecommitdiff
path: root/ext/mysqli
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
commit85e6b8141df092f927196e5df47735b5bd7f5336 (patch)
treebbaa8e7747de35b43c4ee44c2e27503939f768cf /ext/mysqli
parent64cca9fb957a56c16aa732ec074de09bb99e3fc3 (diff)
downloadphp-git-85e6b8141df092f927196e5df47735b5bd7f5336.tar.gz
Prevent Notice
Diffstat (limited to 'ext/mysqli')
-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") {