function _drush_sql_get_scheme

6.x sql.drush.inc _drush_sql_get_scheme($db_spec = NULL)
3.x sql.drush.inc _drush_sql_get_scheme($db_spec = NULL)
4.x sql.drush.inc _drush_sql_get_scheme($db_spec = NULL)
5.x sql.drush.inc _drush_sql_get_scheme($db_spec = NULL)
10 calls to _drush_sql_get_scheme()
drush_core_pre_site_install in commands/core/site_install.drush.inc
Perform setup tasks for installation.
drush_db_select in includes/drush.inc
A db_select() that works for any version of Drupal.
drush_sql_build_createdb_sql in commands/sql/sql.drush.inc
drush_sql_build_dump_command in commands/sql/sql.drush.inc
Build a mysqldump/pg_dump/sqlite statement.
drush_sql_build_exec in commands/sql/sql.drush.inc

... See full list

File

commands/sql/sql.drush.inc, line 760
Drush sql commands

Code

function _drush_sql_get_scheme($db_spec = NULL) {
  if (is_null($db_spec)) {
    $db_spec = _drush_sql_get_db_spec();
  }
  return $db_spec['driver'];
}