Issue Bug Closed

#16706wrong SQL error in log (PostgreSQL)

Martin Kutschker 11/09/06, 11:40 updated 06/27/08, 10:52

Description

The well known problem with the table cache_hash is that the ident field is small so it breaks automaketemplate:

INSERT INTO “cache_hash” ( “hash”, “ident”, “tstamp” ) VALUES ( ‘36bd4a97dda56641553ca6d588b6a883’, ‘tx_automaketemplate_pi1’, ‘1163066022’ )

The DBAL problem here is that the SQL error is:

value too long for type character varying(20)

But in the DBAL log I get an this as “sqlError”:

current transaction is aborted, commands ignored until end of transaction block

Odd.

(issue imported from #M4489)

Reviews 0

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