Export data settings only with data

This commit is contained in:
Jakub Vrana 2012-08-11 22:37:30 -07:00
parent f0d97a7c7f
commit f9cbf50bd7

View file

@ -13,10 +13,10 @@ if ($_POST) {
echo "-- Adminer $VERSION " . $drivers[DRIVER] . " dump
" . ($jush != "sql" ? "" : "SET NAMES utf8;
SET foreign_key_checks = 0;
" . ($_POST["data_style"] ? "SET foreign_key_checks = 0;
SET time_zone = " . q($connection->result("SELECT @@time_zone")) . ";
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
" : "") . "
");
}