function _backup_migrate_get_sql_file_header_mysql in Backup and Migrate 8.2
The header for the top of the sql dump file. These commands set the connection character encoding to help prevent encoding conversion issues.
1 call to _backup_migrate_get_sql_file_header_mysql()
- backup_migrate_backup_db_to_file_mysql in includes/
db.mysql.inc - Get the sql dump file.
File
- includes/
db.mysql.inc, line 110
Code
function _backup_migrate_get_sql_file_header_mysql() {
return "\n/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;\n/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;\n/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;\n/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;\n/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;\n/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE=NO_AUTO_VALUE_ON_ZERO */;\n\nSET NAMES utf8;\n";
}