You are here

function backup_migrate_source_db_mysql::_get_sql_file_footer 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::_get_sql_file_footer()
  2. 7.3 includes/sources.db.mysql.inc \backup_migrate_source_db_mysql::_get_sql_file_footer()

The footer of the sql dump file.

1 call to backup_migrate_source_db_mysql::_get_sql_file_footer()
backup_migrate_source_db_mysql::_backup_db_to_file in includes/sources.db.mysql.inc
Backup the databases to a file.

File

includes/sources.db.mysql.inc, line 370
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 _get_sql_file_footer() {
  return "\n  \n/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;\n/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;\n/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;\n/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;\n/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;\n/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;\n";
}