1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-25 15:31:15 +02:00

Display indexes in Oracle (thanks to Marcello Verona)

This commit is contained in:
Jakub Vrana
2011-05-06 18:04:03 +02:00
parent fb9db96e4d
commit 1da3ca544a
3 changed files with 11 additions and 9 deletions

View File

@@ -334,10 +334,6 @@ WHERE o.schema_id = SCHEMA_ID(" . q(get_schema()) . ") AND o.type IN ('S', 'U',
}
function indexes($table, $connection2 = null) {
global $connection;
if (!is_object($connection2)) {
$connection2 = $connection;
}
$return = array();
// sp_statistics doesn't return information about primary key
foreach (get_rows("SELECT i.name, key_ordinal, is_unique, is_primary_key, c.name AS column_name