* @return bool
*/
function fk_support($table_status) {
- return preg_match('~InnoDB|IBMDB2I~i', $table_status["Engine"]);
+ global $connection;
+ return preg_match('~InnoDB|IBMDB2I~i', $table_status["Engine"])
+ || (preg_match('~NDB~i', $table_status["Engine"]) && version_compare($connection->server_info, '5.6') >= 0);
}
/** Get information about fields
Report offline and other AJAX errors (bug #419)
Add links to documentation on table status page
MySQL: Use utf8mb4 if available
+MySQL: Support foreign keys in NDB storage
PostgreSQL: Materialized views
SQLite: Support CURRENT_* default values (bug #417)
Elasticsearch: Use where in select