On 8/2/06, John Siracusa <[EMAIL PROTECTED]> wrote: > On 8/1/06 6:43 PM, Danial Pearce wrote: > > create table foo ( > > id serial not null, > > foo text, > > primary key (id) > > ); > > > > create table bar ( > > foo_id int references foo(id), > > bar text, > > primary key (foo_id) > > ); > > In this situation, it shouldn't die on a call to $foo->bar, regardless of > the referential_integrity setting on the relationship. The fact that it > does so now is a bug. I'll fix it in the next release.
If this is the case, I'm curious as to what the expected usage of the referential_integrity is? I also notice the select to find $foo->bar gets run every time. DIdn't find it the first time, then when you ask for $foo->bar again it goes to look again. I guess that's fair, cos it's entirely possible that one may have arrived in the mean time. regards, Danial -- "Cats are smarter than dogs. You can't get eight cats to pull a sled through snow." - Jeff Valdez ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object