You are here

function backup_migrate_source_db_mysql::_db_info in Backup and Migrate 6.3

Same name and namespace in other branches
  1. 8.3 includes/sources.db.mysql.inc \backup_migrate_source_db_mysql::_db_info()
  2. 7.3 includes/sources.db.mysql.inc \backup_migrate_source_db_mysql::_db_info()

Get the version info for the given DB.

Overrides backup_migrate_source_db::_db_info

1 call to backup_migrate_source_db_mysql::_db_info()
backup_migrate_source_db_mysql::_get_sql_file_header in includes/sources.db.mysql.inc
The header for the top of the sql dump file. These commands set the connection character encoding to help prevent encoding conversion issues.

File

includes/sources.db.mysql.inc, line 385
Functions to handle the direct to database source.

Class

backup_migrate_source_db_mysql
A source type for backing up from database server.

Code

function _db_info() {
  return array(
    'type' => 'mysql',
    'version' => db_version(),
  );
}