It doesn't do what ORAField::maxLength() mentioned in bug 30927 does. It's not useful for querying database schema or anything. The only reason it was there is that mysql_fetch_field() provided it. Hence, removing it was a concious decision.
Back home, elaborating on my previous comment:
> $db = wfGetDB( DB_MASTER ); > $db->query( 'CREATE TABLE foo(bar varchar(20))' ); > $db->query("INSERT INTO foo VALUES ('foo'),('fail'),('bar')"); > var_dump( $db->fieldInfo( 'foo', 'bar' )->maxLength() ); int(3) <-- WTF?
What does it produce in ORAField? Ok, I understand that it is probably impossible to distinguish tinytext from text with mysql_fetch_field().