From: Sam Reed Date: Fri, 16 Sep 2011 12:25:45 +0000 (+0000) Subject: * (bug 30927) Omission of MySQLField::maxLength X-Git-Tag: 1.31.0-rc.0~27617 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=5f3bdc72cf341db0ef79c7f7959df09be074b96d;p=lhc%2Fweb%2Fwiklou.git * (bug 30927) Omission of MySQLField::maxLength --- diff --git a/includes/db/DatabaseMysql.php b/includes/db/DatabaseMysql.php index 314b6edd8b..ccc8df322e 100644 --- a/includes/db/DatabaseMysql.php +++ b/includes/db/DatabaseMysql.php @@ -786,6 +786,10 @@ class MySQLField implements Field { function isMultipleKey() { return $this->is_multiple; } + + function maxLength() { + return $this->max_length; + } } class MySQLMasterPos implements DBMasterPos {