[TYPO3-core] length and usage of column "ident" of table "cash_hash"

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Thu Nov 9 14:07:29 CET 2006


Martin Kutschker schrieb:
> Hi!
> 
> I've run into a portability problem of Mysql: the silent length 
> truncation of data. All other DBSs choke if strings are too long for a 
> column.
> 
> The problem in particular is the ident field. Some extension (eg 
> automaketemplate) use the field. That is they fill it, but the don't use 
> it. Otherwise it might have been noticed that a value of 
> "tx_automaketemplate_pi1" will be truncated to "tx_automaketemplate_".
> 
> What to do now?
> 
> We could enlarge the column (20 chars is not extremely) long. Nice but 
> not really necessary.

As it just broke my installation on PostgreSQL...

Can I make the varchar 50 chars long? It doesn't really matter but saves 
all DBAL users who happen to use automaketemplate the trouble in finding 
the problem.

Masi



More information about the TYPO3-team-core mailing list