Subject: | Hi, this class is very good, except... |
Summary: | Package rating comment |
Messages: | 1 |
Author: | Ben |
Date: | 2008-10-25 01:38:16 |
|
|
|
Ben rated this package as follows:
Utility: | Good |
Consistency: | Good |
Examples: | Good |
|
Ben - 2008-10-25 01:38:16
Hi, this class is very good, except (and maybe it's because it's a bit old) it does not support INDEX length at all. I suggest you simply add the value contained in $row->Sub_part (which is the index length) [whenever it's not empty] right after the index name like this:
KEY `{$row->Key_name}` (`{$row->Column_name}`" . (!empty($row->Sub_part) ? '('.$row->Sub_part.')'
...which outputs something like: KEY my_index(16)
Good class and good work tough! If you want to see corrections I've made to make it work, I can send you my updated file.
|