From 5f3bdc72cf341db0ef79c7f7959df09be074b96d Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Fri, 16 Sep 2011 12:25:45 +0000 Subject: [PATCH] * (bug 30927) Omission of MySQLField::maxLength --- includes/db/DatabaseMysql.php | 4 ++++ 1 file changed, 4 insertions(+) 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 { -- 2.20.1