[drupal-devel] [feature] move check_query() into the database interface files