Skip to content
Permalink
Browse files

NOBUG postgresql driver - better index names detection. Related to MD…

…L-22804
  • Loading branch information...
stronk7 committed Jun 16, 2010
1 parent b3f1efb commit 471dc4d30719c738687f3a63f371346973435206
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/dml/pgsql_native_moodle_database.php
@@ -322,7 +322,7 @@ public function get_indexes($table) {
}
$columns = explode(',', $matches[4]);
$columns = array_map(array($this, 'trim_quotes'), $columns);
$indexes[$matches[2]] = array('unique'=>!empty($matches[1]),
$indexes[$row['indexname']] = array('unique'=>!empty($matches[1]),
'columns'=>$columns);
}
pg_free_result($result);

0 comments on commit 471dc4d

Please sign in to comment.
You can’t perform that action at this time.