Skip to content

Commit

Permalink
- ignore internal indexes in listTableIndexes() (Bug #8531)
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.php.net/repository/pear/packages/MDB2/trunk@218895 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
Lukas Smith committed Aug 26, 2006
1 parent 94d82e5 commit 2665bb3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MDB2/Driver/Manager/oci8.php
Expand Up @@ -725,6 +725,7 @@ function listTableIndexes($table)
$table = $db->quote($table, 'text');
$query = 'SELECT index_name name FROM user_indexes';
$query.= ' WHERE table_name='.$table.' OR table_name='.strtoupper($table);
$query.= ' AND generated=' .$db->quote('N', 'text');
$indexes = $db->queryCol($query, 'text');
if (PEAR::isError($indexes)) {
return $indexes;
Expand Down

0 comments on commit 2665bb3

Please sign in to comment.