Use numeric time zone in export (thanks to Martin Dzubak)
This commit is contained in:
parent
d97300dd5a
commit
433357f824
|
@ -14,7 +14,7 @@ if ($_POST) {
|
||||||
|
|
||||||
" . ($jush != "sql" ? "" : "SET NAMES utf8;
|
" . ($jush != "sql" ? "" : "SET NAMES utf8;
|
||||||
" . ($_POST["data_style"] ? "SET foreign_key_checks = 0;
|
" . ($_POST["data_style"] ? "SET foreign_key_checks = 0;
|
||||||
SET time_zone = " . q($connection->result("SELECT @@time_zone")) . ";
|
SET time_zone = " . q(substr(preg_replace('~^[^-]~', '+\0', $connection->result("SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP)")), 0, 6)) . ";
|
||||||
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
|
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
|
||||||
" : "") . "
|
" : "") . "
|
||||||
");
|
");
|
||||||
|
|
|
@ -11,6 +11,7 @@ Open database to a new window after selecting it with Ctrl
|
||||||
Disable autocapitalize in identifiers on mobile browsers
|
Disable autocapitalize in identifiers on mobile browsers
|
||||||
MySQL: Compatibility with MySQL 5.6
|
MySQL: Compatibility with MySQL 5.6
|
||||||
MySQL: Move ALTER export to plugin
|
MySQL: Move ALTER export to plugin
|
||||||
|
MySQL: Use numeric time zone in export
|
||||||
SQLite: Export indexes
|
SQLite: Export indexes
|
||||||
|
|
||||||
Adminer 3.6.3 (released 2013-01-23):
|
Adminer 3.6.3 (released 2013-01-23):
|
||||||
|
|
Loading…
Reference in a new issue