[Nitro] [PATCH] Working backwards-compatible fix for the multiple join case.

Rob Pitt rob at motionpath.com
Mon Feb 20 07:43:55 EST 2006

Adds option :table to joins relations. If set, this table is used in
preference to an automatically generated one. This patch is completely
independent of the patches I released on Friday to solve this (which
should all be scrapped).

Test suite ran OK for me here (with the 6 explosions it had before
applying this patch).

tc_store works ok now (postgresql).

the expanded join test cases work demonstrating this feature (and
highlighting the problem it solves).

Sorry for Friday confusion. If this patch works with other stores
(mysql) suggest for inclusion in glycerin.

Note to devs: I changed join_table_info so it accepts a relation as
argument not two classes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: join-tables-revised.patch.bz2
Type: application/x-bzip
Size: 7552 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20060220/91778a3c/attachment.bin 

More information about the Nitro-general mailing list