On Thu, Mar 23, 2006 at 12:24:18PM -0600, Scott Marlowe wrote: > On Thu, 2006-03-23 at 12:17, Jim Nasby wrote: > > On Mar 22, 2006, at 10:08 PM, Scott Marlowe wrote: > > > Now, I shouldn't be able to insert anything in b that's not > > > referencing > > > an entry in a. and I used innodb tables. and I used ansi SQL, and I > > > got no errors. So how come my data's incoherent three seconds after > > > creating the tables the way the spec says should work? Simple. MySQL > > > only implements foreign keys if you do them this way: > > Yep. I filed the bug report on it. > > http://bugs.mysql.com/bug.php?id=13301 Submitted to the gotchas page... -- Jim C. Nasby, Sr. Engineering Consultant jnasby@xxxxxxxxxxxxx Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461