[Commits] Rev 3802: A post-fix for MDEV-4871: Fixing a failire in "mtr --ps" in lp:~maria-captains/maria/10.0

Alexander Barkov bar at mariadb.org
Fri Aug 16 10:27:25 EEST 2013


At lp:~maria-captains/maria/10.0

------------------------------------------------------------
revno: 3802
revision-id: bar at mariadb.org-20130816072413-km674uhu7ofu9ofn
parent: svoj at mariadb.org-20130815141532-h0cwje8lhn8ji6da
committer: Alexander Barkov <bar at mariadb.org>
branch nick: maria-10.0
timestamp: Fri 2013-08-16 11:24:13 +0400
message:
  A post-fix for MDEV-4871: Fixing a failire in "mtr --ps" 
=== modified file 'mysql-test/t/temporal_literal.test'
--- a/mysql-test/t/temporal_literal.test	2013-08-15 11:32:18 +0000
+++ b/mysql-test/t/temporal_literal.test	2013-08-16 07:24:13 +0000
@@ -155,9 +155,11 @@ EXPLAIN EXTENDED SELECT TIMESTAMP'2010-0
 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';



More information about the commits mailing list