Database: fixed support constant name
Database: feature detection refactored to isSupported(SUPPORT_SUBSELECT)