Fixes for support of SQL light without `foreign key' constraint
Authored by: artyom-beilis 2008-05-15
Parent: [r260]
Child: [r262]