1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-12 01:24:17 +02:00

IBMDB2I engine supports foreign keys

This commit is contained in:
Jakub Vrana
2011-05-17 17:20:32 +02:00
parent c1c598db1e
commit e3c4324e49

View File

@@ -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