[TYPO3-core] RFC: Fix sys_refindex problem when using multiplyDBfieldSize=2

Karsten Dambekalns karsten at typo3.org
Wed Nov 15 15:56:24 CET 2006


Hi.

On 04.11.2006, at 16:03, Martin Kutschker wrote:
> Attached is a diff that does this. If a CHAR/VARCHAR becomes a  
> TEXT, then all occurences in index definitions are changed so that  
> Mysql will get a correct index prefix for that field.
>
> With this patch we may remove the '(199)' in the index of  
> sys_refindex.

Sounds absolutely reasonable. I cannot test this currently (no old  
MySQL, lack of time, ...) but it makes sense to add the prefix only  
if it is needed, and not in the dump itself.

Looking at the patch I'd give +1, trusting you it actually works.

Regards,
Karsten
-- 
Karsten Dambekalns
Gimme Five!
http://typo3.org/gimmefive


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 304 bytes
Desc: This is a digitally signed message part
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20061115/66a2f628/attachment.pgp 


More information about the TYPO3-team-core mailing list