From: Jakub Vrana Date: Tue, 17 May 2011 15:20:32 +0000 (+0200) Subject: IBMDB2I engine supports foreign keys X-Git-Tag: v3.3.0~70 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=e3c4324e49a25f0bbea86b412b8e430e4c689b1c;p=adminer.git IBMDB2I engine supports foreign keys --- diff --git a/adminer/drivers/mysql.inc.php b/adminer/drivers/mysql.inc.php index 0eb2202f..68809da0 100644 --- a/adminer/drivers/mysql.inc.php +++ b/adminer/drivers/mysql.inc.php @@ -389,7 +389,7 @@ if (!defined("DRIVER")) { * @return bool */ function fk_support($table_status) { - return ($table_status["Engine"] == "InnoDB"); + return eregi("InnoDB|IBMDB2I", $table_status["Engine"]); } /** Get information about fields