'Twas brillig, and Ralph Schindler at 05/12/08 15:20 did gyre and gimble:
Hi Colin,
I'll try and work on a fix as without it I'll have to write a whole heap
of more verbose code that I'd rather do without!
Do you have any interest in taking this on? Fixing it? If so, great!
In the mean time, I will reassign to myself and work up a unit test for it.
It seems like it could be a relative easy fix.
I've attached a fix to the ticket now (no idea if it's the perfect fix
or not but I just copied the code from _join() a little and threw out
some bits that were not needed), so hopefully it will pass your unit test :)
Sadly while doing that work, I noticed another problem which I reported as:
http://framework.zend.com/issues/browse/ZF-5165
which means that chaining multiple joinUsing() calls one after the other
does not link one table to the next, it always goes back to the original
from() table which is quite different to the SQL USING() syntax.
Sadly, even if I "fixed" that, I'm not sure it would be allowed in as it
would change the nature of the call (even although it is not mentioned
in the docs if this is the intended behaviour or not).
So not quite sure what to do there.
Col
--
Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/
Day Job:
Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
Mandriva Linux Contributor [http://www.mandriva.com/]
PulseAudio Hacker [http://www.pulseaudio.org/]
Trac Hacker [http://trac.edgewall.org/]