You are here

function backup_migrate_destination_db_mysql::_get_sql_file_footer in Backup and Migrate 8.2

Same name and namespace in other branches
  1. 8.3 includes/destinations.db.mysql.inc \backup_migrate_destination_db_mysql::_get_sql_file_footer()
  2. 6.2 includes/destinations.db.mysql.inc \backup_migrate_destination_db_mysql::_get_sql_file_footer()
  3. 7.3 includes/destinations.db.mysql.inc \backup_migrate_destination_db_mysql::_get_sql_file_footer()
  4. 7.2 includes/destinations.db.mysql.inc \backup_migrate_destination_db_mysql::_get_sql_file_footer()

The footer of the sql dump file.

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

File

includes/destinations.db.mysql.inc, line 403
Functions to handle the direct to database destination.

Class

backup_migrate_destination_db_mysql
A destination type for saving to a 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";
}