[TYPO3-core] RFC: Bug #3495: Endles recursion with some MySQL versions
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Thu Nov 2 16:49:14 CET 2006
Dmitry Dulepov schrieb:
> Hi!
>
> Michael Stucki wrote:
>
>> Database dumps cause wrong UIDs when being inserted in various MySQL
>> versions. With such a database, the pages table will contain an entry
>> with ID 0 which causes an endless recursion of the navigation tree.
>
> May be this can be extended to all tables? Autoincrement always start
> with 1, so 0 should never be in the uid column. Thus can we leave out
> check for "pages" table?
If the code can be used to display a tree from other TYPO3 tables (with uid
and so on), then the check should be removed. No uid may ever be zero.
And I'd phrase it "See <link> to get more information of a possible cause".
Who knows how many ways there are to break your DB ;-)
Masi
More information about the TYPO3-team-core
mailing list