Nigel Metheringham wrote:
On 26 Nov 2006, at 15:31, Nilson Santos Figueiredo Junior wrote:
Hopefully that test case will be enough. However, I've encountered
situations where it worked alright for some data sets. It's somewhat
dependant on the data *and* on the order_by clause of your query
(sometimes the same query would work when ordered using some columns,
sometimes it would stop working using another columns, etc).
I suspected that it was data dependant, and was surprised at how easily
I could provoke this bug with the test database. Still, having a test
for 2 level pre-fetch in the joins test code can only help expose these
problems and any future regressions :-/ .
I'm frankly amazed we're not already twigging it in a test somewhere. Sigh.
I'm looking at it, expect me to put out a call for testing as soon as I get it
working.
_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/