The documentation does say a schema is required, but some time could be saved by at least logging that it has silently quit.

$schema = drupal_get_schema($table);
if (empty($schema)) {
return FALSE;
}

Comments

steinmb’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)

Have a look at https://api.drupal.org/api/drupal/includes!bootstrap.inc/function/drupal...

$table: The name of the table. If not given, the schema of all tables is returned.

You could test this with drush eval 'print_r(drupal_get_schema()); ' It return FALSE if you pass a schema name that does not exist drush eval 'var_dump(drupal_get_schema('foo')); '