Alled for old style mysql no FK relation

Hi there, we have a very old db that has no FKs defined.

Currently its not possible (or seems not) to perform joins on elements that have no FK

This is a minor patch for it..