[TYPO3-core] RFC: Bug #3495: Endles recursion with some MySQL versions

Michael Stucki michael at typo3.org
Fri Nov 3 14:40:20 CET 2006


I agree. Attached is a new version.

- michael

Martin Kutschker wrote:

> 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

-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_3495_v2.diff
Type: text/x-diff
Size: 1482 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20061103/b920d807/attachment.bin 


More information about the TYPO3-team-core mailing list