diff options
author | Brion Vibber <brion@pobox.com> | 2010-10-08 16:38:18 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-10-08 16:38:18 -0700 |
commit | 7f674cc957ff36c394d0c1b6811d05d4a08bbf69 (patch) | |
tree | 9857146b9e920e47e571deb0fccb4a027621605d /lib/mysqlschema.php | |
parent | 2d0807bc1c72c1351f57d7f65386ad7be9d19e83 (diff) | |
parent | 2e475ceab05c92014e428fe6db6bc79badaad9ca (diff) |
Merge branch 'schema-x' of /Users/brion/pages/mublog into schema-x
Diffstat (limited to 'lib/mysqlschema.php')
-rw-r--r-- | lib/mysqlschema.php | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/lib/mysqlschema.php b/lib/mysqlschema.php index 98e276a40..9ccd502b5 100644 --- a/lib/mysqlschema.php +++ b/lib/mysqlschema.php @@ -300,31 +300,6 @@ class MysqlSchema extends Schema } /** - * Look over a list of column definitions and list up which - * indices will be present - */ - private function _indexList(array $columns) - { - $list = array('uniques' => array(), - 'primary' => array(), - 'indices' => array()); - foreach ($columns as $cd) { - switch ($cd->key) { - case 'UNI': - $list['uniques'][] = $cd->name; - break; - case 'PRI': - $list['primary'][] = $cd->name; - break; - case 'MUL': - $list['indices'][] = $cd->name; - break; - } - } - return $list; - } - - /** * Get the unique index key name for a given column on this table */ function _uniqueKey($tableName, $columnName) |