From 2e475ceab05c92014e428fe6db6bc79badaad9ca Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 7 Oct 2010 18:33:02 -0700 Subject: Some more poking at schema stuff, on the road towards a more portable table-modification with the new schema bits --- lib/mysqlschema.php | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'lib/mysqlschema.php') diff --git a/lib/mysqlschema.php b/lib/mysqlschema.php index 696b2b8d2..0a5545286 100644 --- a/lib/mysqlschema.php +++ b/lib/mysqlschema.php @@ -322,31 +322,6 @@ class MysqlSchema extends Schema return true; } - /** - * 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 */ -- cgit v1.2.3-54-g00ecf