[eluser]Unknown[/eluser]
The max_length apparently maxes out at 7 for string fields.
Code:
$query = $this->db->query(...);
$fields = $query->field_data();
print_r($fields);
The string fields max_length items are correct if they are declared in my database as char(x) where x is less than 7, but incorrect if over seven. I haven't tried this with varchars.
I'm using version 1.6.1 and MySQL.