[TYPO3-core] RFC: Bug #4951: SQL error when editing BE User
Thomas Hempel
thomas at work.de
Fri Feb 16 13:20:42 CET 2007
Hi,
>
> Solution:
> The reason seems that "-1" is appended to every pid in select queries, though
> only versioned tables are signed and therefore allow such values.
>
> Comments:
> Seems to happen only with some MySQL versions, other versions simply ignore
> the problem.
I can't reproduce the error due to my mySQL version.
Anyway, I'm not sure about the patch. I'm not too much inside WS and versioning but do you think
it's a good idea to make the PK a signed int? If there are no complains about it, it's okay for me.
The second one is, wouldn't it make sense to avoid adding the "-1" instead of removing it by regex?
Greets,
Thomas
--
typo3-unleashed.net
More information about the TYPO3-team-core
mailing list