* (bug 30927) Omission of MySQLField::maxLength
authorSam Reed <reedy@users.mediawiki.org>
Fri, 16 Sep 2011 12:25:45 +0000 (12:25 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Fri, 16 Sep 2011 12:25:45 +0000 (12:25 +0000)
includes/db/DatabaseMysql.php

index 314b6ed..ccc8df3 100644 (file)
@@ -786,6 +786,10 @@ class MySQLField implements Field {
        function isMultipleKey() {
                return $this->is_multiple;
        }
+
+       function maxLength() {
+               return $this->max_length;
+       }
 }
 
 class MySQLMasterPos implements DBMasterPos {