mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Prevent Notice
This commit is contained in:
parent
faeae7ea47
commit
cfb4fa47ad
@ -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") {
|
||||
|
Loading…
Reference in New Issue
Block a user