mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
A post-fix for MDEV-4871: Fixing a failire in "mtr --ps"
This commit is contained in:
parent
954d21deb2
commit
4f412a5760
1 changed files with 6 additions and 0 deletions
|
@ -155,9 +155,11 @@ EXPLAIN EXTENDED SELECT TIMESTAMP'2010-01-01 10:10:10';
|
|||
SELECT TIMESTAMP'2001-00-00 00:00:00.999999';
|
||||
SELECT TIMESTAMP'2001-00-01 00:00:00.999999';
|
||||
SELECT TIMESTAMP'2001-01-00 00:00:00.999999';
|
||||
--disable_ps_protocol
|
||||
SELECT TIMESTAMP'2001-00-00 00:00:00.9999999';
|
||||
SELECT TIMESTAMP'2001-00-01 00:00:00.9999999';
|
||||
SELECT TIMESTAMP'2001-01-00 00:00:00.9999999';
|
||||
--enable_ps_protocol
|
||||
|
||||
--echo #
|
||||
--echo # String literal with bad dates and nanoseconds to DATETIME(N)
|
||||
|
@ -216,7 +218,9 @@ SELECT 'a' LIKE 'a' ESCAPE TIME'00:00:00';
|
|||
--echo #
|
||||
--echo # MDEV-4871 Temporal literals do not accept nanoseconds
|
||||
--echo #
|
||||
--disable_ps_protocol
|
||||
SELECT TIME'10:10:10.1234567';
|
||||
--enable_ps_protocol
|
||||
SELECT TIME('10:10:10.1234567');
|
||||
--error ER_WRONG_VALUE
|
||||
SELECT TIME'10:10:10.123456xyz';
|
||||
|
@ -225,7 +229,9 @@ SELECT TIME'10:10:10.1234567xyz';
|
|||
SELECT TIME('10:10:10.123456xyz');
|
||||
SELECT TIME('10:10:10.1234567xyz');
|
||||
|
||||
--disable_ps_protocol
|
||||
SELECT TIMESTAMP'2001-01-01 10:10:10.1234567';
|
||||
--enable_ps_protocol
|
||||
SELECT TIMESTAMP('2001-01-01 10:10:10.1234567');
|
||||
--error ER_WRONG_VALUE
|
||||
SELECT TIMESTAMP'2001-01-01 10:10:10.123456xyz';
|
||||
|
|
Loading…
Reference in a new issue