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

Michael Stucki michael at typo3.org
Tue Nov 7 12:59:21 CET 2006


Hi Martin,

> 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.

I tested this, and it works as expected. Just one note:

| $match = array();

I think you can remove this line, $match is set automatically by preg_match.

Attached is a new version of your patch, additionally containing the removal
of the sys_refindex modification.

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t3lib_install-multiply_v2.diff
Type: text/x-diff
Size: 1242 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20061107/16d2c384/attachment.bin 


More information about the TYPO3-team-core mailing list