[MDEV-10256] Tests fail with wrong negative decimal values on p8-xenial-bintar Created: 2016-06-19  Updated: 2016-07-06  Resolved: 2016-07-06

Status: Closed
Project: MariaDB Server
Component/s: Tests
Affects Version/s: 5.5
Fix Version/s: 5.5.51

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Sergey Vojtovich
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
blocks MDEV-7069 Fix buildbot failures in main server ... Stalled

 Description   

http://buildbot.askmonty.org/buildbot/builders/p8-xenial-bintar/builds/6/steps/test/logs/stdio

rpl.rpl_stm_user_variables 'stmt'        w3 [ fail ]
        Test ended at 2016-06-17 15:57:12
 
CURRENT_TEST: rpl.rpl_stm_user_variables
--- /mnt/build/maria-slave/p8-xenial-bintar/build/mysql-test/suite/rpl/r/rpl_stm_user_variables.result	2016-06-16 15:18:44.201684244 -0400
+++ /mnt/build/maria-slave/p8-xenial-bintar/build/mysql-test/suite/rpl/r/rpl_stm_user_variables.reject	2016-06-17 15:57:11.903189867 -0400
@@ -127,7 +127,7 @@
 double	-9.223372036854776e18
 float	-9.22337e18
 real	-9223372036854776000.00
-decimal	-9223372036854775808.00
+decimal	-854775808.00
 #### [ on slave ]
 SELECT * FROM t1;
 tinyint	-128
@@ -143,7 +143,7 @@
 double	-9.223372036854776e18
 float	-9.22337e18
 real	-9223372036854776000.00
-decimal	-9223372036854775808.00
+decimal	-854775808.00
 #########################################
 ## assertion: master and slave tables are in sync
 include/diff_tables.inc [master:t1,slave:t1]
@@ -179,7 +179,7 @@
 double	-9.223372036854776e18
 float	-9.22337e18
 real	-9223372036854776000.00
-decimal	-9223372036854775808.00
+decimal	-854775808.00
 #### [ on slave ]
 SELECT * FROM t1;
 tinyint	-128
@@ -195,7 +195,7 @@
 double	-9.223372036854776e18
 float	-9.22337e18
 real	-9223372036854776000.00
-decimal	-9223372036854775808.00
+decimal	-854775808.00
 #########################################
 ## assertion: master and slave tables are in sync
 include/diff_tables.inc [master:t1,slave:t1]
 
mysqltest: Result length mismatch

and more.



 Comments   
Comment by Sergey Vojtovich [ 2016-07-06 ]

Reproduced on wily x86. Most probably it has something to do with gcc 5.

Comment by Sergey Vojtovich [ 2016-07-06 ]

MDEV-7973

Comment by Sergey Vojtovich [ 2016-07-06 ]

Backported fix for MDEV-7973.

Generated at Thu Feb 08 07:40:50 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.