From 3348cc879a0757c35c082bdfe147e3fe89c660ce Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Sat, 23 Jul 2011 18:11:44 +0000 Subject: [PATCH] Support length for TEXT columns in table editor. Looks a bit undecided in MySQL, as MEDIUMTEXT e.g. has no length attribute. However, fixes issue #2505. --- source/mysql_structures.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/mysql_structures.pas b/source/mysql_structures.pas index ee93d3f2..3a4432d3 100644 --- a/source/mysql_structures.pas +++ b/source/mysql_structures.pas @@ -440,7 +440,7 @@ var 'An optional length M can be given for this type. If this is done, MySQL ' + 'creates the column as the smallest TEXT type large enough to hold ' + 'values M characters long.'; - HasLength: False; + HasLength: True; RequiresLength: False; HasBinary: True; HasDefault: False;