You are here

function _backup_migrate_get_sql_file_footer in Backup and Migrate 6

Same name and namespace in other branches
  1. 5.2 includes/db.inc \_backup_migrate_get_sql_file_footer()
  2. 5 backup_migrate.module \_backup_migrate_get_sql_file_footer()

The footer of the sql dump file.

1 call to _backup_migrate_get_sql_file_footer()
_backup_migrate_get_dump_sql in ./backup_migrate.module
Get the sql dump file. Returns a list of sql commands, one command per line. That makes it easier to import without loading the whole file into memory. The files are a little harder to read, but human-readability is not a priority

File

./backup_migrate.module, line 656
Create (manually or scheduled) and restore backups of your Drupal MySQL database with an option to exclude table data (f.e. cache_*)

Code

function _backup_migrate_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";
}