Issue Bug Closed

#16636INSERT cache_hash ident value needs to be truncated to 20 chars manually

Michiel Roos 10/10/06, 16:02 updated 03/13/07, 15:33

Description

When inserting a cache_hash the field ‘ident’ is a length of 20. When the string is longer, MySQL will just truncate the value.

Postgres however, will not. It will fail the insert and throw an error.

This is bad. ;-)

This can be fixed by manually truncating the value that goes into ‘ident’ to 20 chars.

(issue imported from #M4363)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.