mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
5b0774ee1c
TIME, DATETIME, TIMESTAMP added: mysql-test/r/type_temporal_mysql56.result mysql-test/std_data/mysql56datetime.MYD mysql-test/std_data/mysql56datetime.MYI mysql-test/std_data/mysql56datetime.frm mysql-test/std_data/mysql56time.MYD mysql-test/std_data/mysql56time.MYI mysql-test/std_data/mysql56time.frm mysql-test/std_data/mysql56timestamp.MYD mysql-test/std_data/mysql56timestamp.MYI mysql-test/std_data/mysql56timestamp.frm mysql-test/suite/rpl/r/rpl_temporal_mysql56.result mysql-test/suite/rpl/t/rpl_temporal_mysql56.test mysql-test/t/type_temporal_mysql56.test sql/compat56.cc sql/compat56.h modified: client/mysqlbinlog.cc include/my_time.h include/mysql.h.pp include/mysql_com.h mysql-test/r/statistics.result mysql-test/r/strict.result mysql-test/suite/binlog/r/binlog_mysqlbinlog_row_innodb.result mysql-test/suite/binlog/r/binlog_mysqlbinlog_row_myisam.result sql-common/my_time.c sql/CMakeLists.txt sql/field.cc sql/field.h sql/item.cc sql/item_strfunc.cc sql/item_sum.cc sql/item_timefunc.cc sql/log_event.cc sql/opt_range.cc sql/opt_table_elimination.cc sql/protocol.cc sql/rpl_utility.cc sql/rpl_utility.h sql/sql_partition.cc sql/sql_prepare.cc sql/sql_select.cc sql/sql_table.cc sql/table.cc storage/perfschema/pfs_engine_table.cc
84 lines
2.4 KiB
Text
84 lines
2.4 KiB
Text
include/master-slave.inc
|
|
[connection master]
|
|
SET TIME_ZONE='+00:00';
|
|
SET TIME_ZONE='+00:00';
|
|
INSERT INTO mysql56time VALUES ('01:01:01','01:01:01.1','01:01:01.11','01:01:01.111','01:01:01.1111','01:01:01.11111','01:01:01.111111');
|
|
INSERT INTO mysql56datetime VALUES ('2001-01-01 01:01:01','2001-01-01 01:01:01.1','2001-01-01 01:01:01.11','2001-01-01 01:01:01.111','2001-01-01 01:01:01.1111','2001-01-01 01:01:01.11111','2001-01-01 01:01:01.111111');
|
|
INSERT INTO mysql56timestamp VALUES ('2001-01-01 01:01:01','2001-01-01 01:01:01.1','2001-01-01 01:01:01.11','2001-01-01 01:01:01.111','2001-01-01 01:01:01.1111','2001-01-01 01:01:01.11111','2001-01-01 01:01:01.111111');
|
|
SELECT * FROM mysql56time;
|
|
t0 838:59:59
|
|
t1 838:59:59.0
|
|
t2 838:59:59.00
|
|
t3 838:59:59.000
|
|
t4 838:59:59.0000
|
|
t5 838:59:59.00000
|
|
t6 838:59:59.000000
|
|
t0 00:00:00
|
|
t1 00:00:00.0
|
|
t2 00:00:00.00
|
|
t3 00:00:00.000
|
|
t4 00:00:00.0000
|
|
t5 00:00:00.00000
|
|
t6 00:00:00.000000
|
|
t0 -838:59:59
|
|
t1 -838:59:59.0
|
|
t2 -838:59:59.00
|
|
t3 -838:59:59.000
|
|
t4 -838:59:59.0000
|
|
t5 -838:59:59.00000
|
|
t6 -838:59:59.000000
|
|
t0 01:01:01
|
|
t1 01:01:01.1
|
|
t2 01:01:01.11
|
|
t3 01:01:01.111
|
|
t4 01:01:01.1111
|
|
t5 01:01:01.11111
|
|
t6 01:01:01.111111
|
|
SELECT * FROM mysql56datetime;
|
|
dt0 0000-00-00 00:00:00
|
|
dt1 0000-00-00 00:00:00.0
|
|
dt2 0000-00-00 00:00:00.00
|
|
dt3 0000-00-00 00:00:00.000
|
|
dt4 0000-00-00 00:00:00.0000
|
|
dt5 0000-00-00 00:00:00.00000
|
|
dt6 0000-00-00 00:00:00.000000
|
|
dt0 9999-12-31 23:59:59
|
|
dt1 9999-12-31 23:59:59.9
|
|
dt2 9999-12-31 23:59:59.99
|
|
dt3 9999-12-31 23:59:59.999
|
|
dt4 9999-12-31 23:59:59.9999
|
|
dt5 9999-12-31 23:59:59.99999
|
|
dt6 9999-12-31 23:59:59.999999
|
|
dt0 2001-01-01 01:01:01
|
|
dt1 2001-01-01 01:01:01.1
|
|
dt2 2001-01-01 01:01:01.11
|
|
dt3 2001-01-01 01:01:01.111
|
|
dt4 2001-01-01 01:01:01.1111
|
|
dt5 2001-01-01 01:01:01.11111
|
|
dt6 2001-01-01 01:01:01.111111
|
|
SELECT * FROM mysql56timestamp;
|
|
ts0 1970-01-01 00:00:01
|
|
ts1 1970-01-01 00:00:01.0
|
|
ts2 1970-01-01 00:00:01.00
|
|
ts3 1970-01-01 00:00:01.000
|
|
ts4 1970-01-01 00:00:01.0000
|
|
ts5 1970-01-01 00:00:01.00000
|
|
ts6 1970-01-01 00:00:01.000000
|
|
ts0 2038-01-19 03:14:07
|
|
ts1 2038-01-19 03:14:07.9
|
|
ts2 2038-01-19 03:14:07.99
|
|
ts3 2038-01-19 03:14:07.999
|
|
ts4 2038-01-19 03:14:07.9999
|
|
ts5 2038-01-19 03:14:07.99999
|
|
ts6 2038-01-19 03:14:07.999999
|
|
ts0 2001-01-01 01:01:01
|
|
ts1 2001-01-01 01:01:01.1
|
|
ts2 2001-01-01 01:01:01.11
|
|
ts3 2001-01-01 01:01:01.111
|
|
ts4 2001-01-01 01:01:01.1111
|
|
ts5 2001-01-01 01:01:01.11111
|
|
ts6 2001-01-01 01:01:01.111111
|
|
DROP TABLE mysql56time;
|
|
DROP TABLE mysql56datetime;
|
|
DROP TABLE mysql56timestamp;
|
|
include/rpl_end.inc
|