Save bytes
This commit is contained in:
parent
224ddb5a33
commit
93686eab65
|
@ -466,7 +466,7 @@ if (!defined("DRIVER")) {
|
||||||
function fk_support($table_status) {
|
function fk_support($table_status) {
|
||||||
global $connection;
|
global $connection;
|
||||||
return preg_match('~InnoDB|IBMDB2I~i', $table_status["Engine"])
|
return preg_match('~InnoDB|IBMDB2I~i', $table_status["Engine"])
|
||||||
|| (preg_match('~NDB~i', $table_status["Engine"]) && version_compare($connection->server_info, '5.6') >= 0);
|
|| (preg_match('~NDB~i', $table_status["Engine"]) && $connection->server_info >= 5.6);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Get information about fields
|
/** Get information about fields
|
||||||
|
|
Loading…
Reference in a new issue