richardhundt/YAX — pull request #1 by andreashe (2013-03-25 15:36:04+00:00)
Title: cache does not work

Hi Richard,

I had some trouble with the query and did find a problem with CACHE in class scope of query. If you just rerun the same query again, it fails and misses a method. As you use a blessed array for object, I didnt know how to store cache there in object context.

So my "solution" was a bit direct: I removed CACHE from query. In modified 03-query.t is a copy of a query run and it works now with the CACHE removal.

So far I had to modify Query.pm in my local copy to use it without problem. Hope you will fix that with this patch or a more elegant way.

best regards.